Drop global objects after completed test
authorDaniel Gustafsson <[email protected]>
Wed, 3 Apr 2024 11:33:25 +0000 (13:33 +0200)
committerMichael Paquier <[email protected]>
Tue, 24 Sep 2024 03:10:30 +0000 (12:10 +0900)
commit988ddbef978bb2f247f0e021a28527e3776d6906
tree5df972ff43975b8953fb021bbb6ce89c9df99065
parentcf9f6b4688626e8d0682f96879325019d39c9794
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/[email protected]
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