Drop global objects after completed test

Daniel Gustafsson <dgustafsson@postgresql.org>

Commit: 4dd17490faa34c2dc4725593f7866c3f18f76e7d
Author: Daniel Gustafsson <dgustafsson@postgresql.org>
Committer: Michael Paquier <michael@paquier.xyz>
Date: 2024-09-24T03:10:18Z
Releases: 16.5
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

Files

Discussion