Skip to content

Commit 2db9f56

Browse files
darorasoedirgo
andcommitted
Update migrations/tests/extensions/11-wal2json.sql
Co-authored-by: Bobbie Soedirgo <[email protected]>
1 parent 88d6f19 commit 2db9f56

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
BEGIN;
22
select pg_drop_replication_slot(slot_name) from pg_replication_slots where slot_name = 'test_slot';
33
select * from pg_create_logical_replication_slot('test_slot', 'wal2json');
4+
-- a rollback of the txn does not remove the logical replication slot that gets created, so we need to manually drop it
45
select pg_drop_replication_slot(slot_name) from pg_replication_slots where slot_name = 'test_slot';
56
ROLLBACK;

0 commit comments

Comments
 (0)