Drop global objects after completed test
authorDaniel Gustafsson <dgustafsson@postgresql.org>
Wed, 3 Apr 2024 11:33:25 +0000 (13:33 +0200)
committerMichael Paquier <michael@paquier.xyz>
Tue, 24 Sep 2024 03:10:25 +0000 (12:10 +0900)
commit2eecaf4b8cfb495a77512b7123f2867319973d29
treecc9a98ba3cfd88904270590215a2fe56cfc49758
parent23d44397321f96d8a94e4791172ecd1f494d3349
Drop global objects after completed test

Project policy is to not leave global objects behind after a regress
test run.  This was found as a result of the development of a patch
to make pg_regress detect such leftovers automatically, which in the
end was withdrawn due to issues with parallel runs.

This was originally committed as 936e3fa3787a, but the issue also exists
in the 12~16 range.

Discussion: https://postgr.es/m/E1phvk7-000VAH-7k@gemulon.postgresql.org
Backpatch-through: 12
src/test/modules/test_pg_dump/expected/test_pg_dump.out
src/test/modules/test_pg_dump/sql/test_pg_dump.sql