Movatterモバイル変換


[0]ホーム

URL:


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

Sign up
Appearance settings

Commitc06c830

Browse files
michaelpqpull[bot]
authored andcommitted
test_decoding: Remove unnecessary table in twophase test
The end of this test is dropping all the relations created but forgotabout this one. This is not critical, but let's be clean, and the testexpects a cleanup, as documented.Author: Nishant SharmaDiscussion:https://postgr.es/m/CADrsxdb0ueGV9nrC6s8zvXLkGUhnEjx7Ou_p5wo38TvmSvF83A@mail.gmail.com
1 parent822d58a commitc06c830

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
DROPTABLE test_prepared1;
110110
DROPTABLE test_prepared2;
111+
DROPTABLE test_prepared_savepoint;
111112
-- show results. There should be nothing to show
112113
SELECT dataFROM pg_logical_slot_get_changes('regression_slot',NULL,NULL,'include-xids','0','skip-empty-xacts','1');
113114

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp