Add basic regression test from downstream

Per GitHub #282
Ref: https://anonscm.debian.org/cgit/pkg-postgresql/repmgr.git/tree/debian/patches/regress.patch
This commit is contained in:
Ian Barwick
2017-05-22 11:53:59 +09:00
parent 333083869b
commit 557e34b70c
4 changed files with 47 additions and 0 deletions

4
sql/repmgr_test.sql Normal file
View File

@@ -0,0 +1,4 @@
select * from repmgr_update_standby_location('');
select * from repmgr_get_last_standby_location();
select * from repmgr_update_last_updated();
select * from repmgr_get_last_updated();