This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
CREATE USER cdcuser WITH PASSWORD 'cdcpassword' REPLICATION LOGIN; | |
CREATE ROLE replication_group WITH USER foouser, cdcuser; | |
GRANT CREATE ON DATABASE quant_core TO replication_group; | |
GRANT USAGE ON SCHEMA foo TO replication_group; | |
GRANT CREATE ON SCHEMA foo TO replication_group; | |
CREATE TABLE foo.cdc_heartbeat ( | |
heartbeat bit | |
); | |
ALTER TABLE foo.cdc_heartbeat OWNER TO cdcuser; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment