Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 98e8974

Browse filesBrowse 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
Copy full SHA for 98e8974

File tree

Expand file treeCollapse file tree

2 files changed

+2
-0
lines changed
Filter options
Expand file treeCollapse file tree

2 files changed

+2
-0
lines changed

‎contrib/test_decoding/expected/twophase.out

Copy file name to clipboardExpand all lines: contrib/test_decoding/expected/twophase.out
+1Lines 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

Copy file name to clipboardExpand all lines: contrib/test_decoding/sql/twophase.sql
+1Lines 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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.