summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Paquier2023-10-10 08:49:22 +0000
committerMichael Paquier2023-10-10 08:49:22 +0000
commit98e89740e5a816f9ef2b71b1a1b62a9aff23d194 (patch)
tree87152549b85d28f63a3e6f96c3442d7fa90082ea
parente3679bc1c31add8fa29a9dedd10fe6c563efde79 (diff)
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
-rw-r--r--contrib/test_decoding/expected/twophase.out1
-rw-r--r--contrib/test_decoding/sql/twophase.sql1
2 files changed, 2 insertions, 0 deletions
diff --git a/contrib/test_decoding/expected/twophase.out b/contrib/test_decoding/expected/twophase.out
index e89dc74a5e4..517f20bc37e 100644
--- a/contrib/test_decoding/expected/twophase.out
+++ b/contrib/test_decoding/expected/twophase.out
@@ -209,6 +209,7 @@ SELECT data FROM pg_logical_slot_get_changes('regression_slot', NULL, NULL, 'inc
-- cleanup and make sure results are also empty
DROP TABLE test_prepared1;
DROP TABLE test_prepared2;
+DROP TABLE test_prepared_savepoint;
-- show results. There should be nothing to show
SELECT data FROM pg_logical_slot_get_changes('regression_slot', NULL, NULL, 'include-xids', '0', 'skip-empty-xacts', '1');
data
diff --git a/contrib/test_decoding/sql/twophase.sql b/contrib/test_decoding/sql/twophase.sql
index aff5114eb10..0244795f3d9 100644
--- a/contrib/test_decoding/sql/twophase.sql
+++ b/contrib/test_decoding/sql/twophase.sql
@@ -108,6 +108,7 @@ SELECT data FROM pg_logical_slot_get_changes('regression_slot', NULL, NULL, 'inc
-- cleanup and make sure results are also empty
DROP TABLE test_prepared1;
DROP TABLE test_prepared2;
+DROP TABLE test_prepared_savepoint;
-- show results. There should be nothing to show
SELECT data FROM pg_logical_slot_get_changes('regression_slot', NULL, NULL, 'include-xids', '0', 'skip-empty-xacts', '1');