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:38 +0000 (12:10 +0900)
commit8ec99d0b79b236c14660ff2f3beb6ee9747e8f5c
tree7ab59846bf83832fc34120782ca2c777e9373b00
parent0ce8008386cabac026c27be86776f717f0bb229b
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