Skip to content

Commit 98e8974

Browse files
committed
test_decoding: Remove unnecessary table in twophase test
The end of this test is dropping all the relations created but forgot about this one. This is not critical, but let's be clean, and the test expects a cleanup, as documented. Author: Nishant Sharma Discussion: https://postgr.es/m/CADrsxdb0ueGV9nrC6s8zvXLkGUhnEjx7Ou_p5wo38TvmSvF83A@mail.gmail.com
1 parent e3679bc commit 98e8974

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

contrib/test_decoding/expected/twophase.out

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -209,6 +209,7 @@ SELECT data FROM pg_logical_slot_get_changes('regression_slot', NULL, NULL, 'inc
209209
-- cleanup and make sure results are also empty
210210
DROP TABLE test_prepared1;
211211
DROP TABLE test_prepared2;
212+
DROP TABLE test_prepared_savepoint;
212213
-- show results. There should be nothing to show
213214
SELECT data FROM pg_logical_slot_get_changes('regression_slot', NULL, NULL, 'include-xids', '0', 'skip-empty-xacts', '1');
214215
data

contrib/test_decoding/sql/twophase.sql

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -108,6 +108,7 @@ SELECT data FROM pg_logical_slot_get_changes('regression_slot', NULL, NULL, 'inc
108108
-- cleanup and make sure results are also empty
109109
DROP TABLE test_prepared1;
110110
DROP TABLE test_prepared2;
111+
DROP TABLE test_prepared_savepoint;
111112
-- show results. There should be nothing to show
112113
SELECT data FROM pg_logical_slot_get_changes('regression_slot', NULL, NULL, 'include-xids', '0', 'skip-empty-xacts', '1');
113114

0 commit comments

Comments
 (0)