Re: pgsql: Clean up role created in new subscription test.
Peter Eisentraut <peter@eisentraut.org>
From: Peter Eisentraut <peter@eisentraut.org>
To: Daniel Gustafsson <daniel@yesql.se>, Tom Lane <tgl@sss.pgh.pa.us>
Cc: Robert Haas <robertmhaas@gmail.com>,
PostgreSQL Hackers <pgsql-hackers@postgresql.org>
Date: 2023-11-08T07:55:32Z
Lists: pgsql-hackers
On 06.07.23 00:00, Daniel Gustafsson wrote: >> On 16 May 2023, at 11:17, Daniel Gustafsson <daniel@yesql.se> wrote: > >> Parked in the July CF for now. > > Rebased to fix a trivial conflict highlighted by the CFBot. I think the problem with this approach is that one would need to reapply it to each regression test suite separately. For example, there are several tests under contrib/ that create roles. These would not be covered by this automatically. I think the earlier idea of just counting roles, tablespaces, etc. before and after would be sufficient.
Commits
-
Drop global objects after completed test
- 8ec99d0b79b2 12.21 landed
- e43e71b6cd2f 13.17 landed
- 988ddbef978b 14.14 landed
- 2eecaf4b8cfb 15.9 landed
- 4dd17490faa3 16.5 landed
- 936e3fa3787a 17.0 landed
-
Fix reported runtime for single tests in pg_regress
- 8cb94344c3c7 16.0 landed
-
Clean up role created in new subscription test.
- e9d202a1499d 16.0 cited