mirror of
https://github.com/EnterpriseDB/repmgr.git
synced 2026-03-22 22:56:29 +00:00
Add extension upgrade files
This commit is contained in:
8
repmgr--4.0-4.1.sql
Normal file
8
repmgr--4.0-4.1.sql
Normal file
@@ -0,0 +1,8 @@
|
||||
-- complain if script is sourced in psql, rather than via CREATE EXTENSION
|
||||
\echo Use "CREATE EXTENSION repmgr" to load this file. \quit
|
||||
|
||||
ALTER TABLE repmgr.nodes
|
||||
DROP CONSTRAINT nodes_type_check,
|
||||
ADD CONSTRAINT nodes_type_check CHECK (type IN('primary','standby','witness','bdr','bdr_standby'));
|
||||
|
||||
type TEXT NOT NULL CHECK (type IN('primary','standby','witness','bdr','bdr_standby')),
|
||||
Reference in New Issue
Block a user