Tweak extension configuration

This commit is contained in:
Ian Barwick
2017-04-19 10:12:26 +09:00
parent 856244fdd6
commit e306eb213b
3 changed files with 12 additions and 2 deletions

7
repmgr--4.0.sql Normal file
View File

@@ -0,0 +1,7 @@
-- complain if script is sourced in psql, rather than via CREATE EXTENSION
\echo Use "CREATE EXTENSION repmgr" to load this file. \quit
CREATE TABLE nodes (
node_id INTEGER PRIMARY KEY,
type TEXT NOT NULL CHECK (type IN('master','standby','witness','bdr'))
);