Created
July 24, 2019 09:38
-
-
Save savelevvo/71050d8679fc9c8be9b411807264eebf to your computer and use it in GitHub Desktop.
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
ALTER SUBSCRIPTION my_table_sub DISABLE; | |
ALTER SUBSCRIPTION my_table_sub SET (slot_name = NONE); | |
DROP SUBSCRIPTION my_table_sub; | |
DELETE FROM my_table; | |
CREATE SUBSCRIPTION my_table_sub CONNECTION 'dbname=xxx user=xxx password=xxx host=xxx port=xxx' PUBLICATION my_table_pub; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment