pgsql: Drop global objects after completed test - Mailing list pgsql-committers

From Michael Paquier
Subject pgsql: Drop global objects after completed test
Date
Msg-id E1ssvyK-000cm2-42@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
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

Branch
------
REL_14_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/988ddbef978bb2f247f0e021a28527e3776d6906
Author: Daniel Gustafsson <dgustafsson@postgresql.org>

Modified Files
--------------
src/test/modules/test_pg_dump/expected/test_pg_dump.out | 2 ++
src/test/modules/test_pg_dump/sql/test_pg_dump.sql      | 4 ++++
2 files changed, 6 insertions(+)


pgsql-committers by date:

Previous
From: Michael Paquier
Date:
Subject: pgsql: Remove ATT_TABLE for ALTER TABLE ... ATTACH/DETACH
Next
From: Michael Paquier
Date:
Subject: pgsql: Allow meson builds to run test_pg_dump test in installcheck mode