test_decoding: Remove unnecessary table in twophase test
authorMichael Paquier <michael@paquier.xyz>
Tue, 10 Oct 2023 08:49:22 +0000 (17:49 +0900)
committerMichael Paquier <michael@paquier.xyz>
Tue, 10 Oct 2023 08:49:22 +0000 (17:49 +0900)
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

contrib/test_decoding/expected/twophase.out
contrib/test_decoding/sql/twophase.sql

index e89dc74a5e449c9a695401041f1fa5bbc7d0a0a8..517f20bc37e7a66a9c4d52cfbdcc86b1b55272a6 100644 (file)
@@ -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 
index aff5114eb1038ff2644c0f661ef9b56257cfae79..0244795f3d9e1442fa42ab86c6d5f6726aeefc99 100644 (file)
@@ -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');