Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit936e3fa

Browse files
Drop global objects after completed test
Project policy is to not leave global objects behind after a regresstest run. This was found as a result of the development of a patchto make pg_regress detect such leftovers automatically, which in theend was withdrawn due to issues with parallel runs.Discussion:https://postgr.es/m/E1phvk7-000VAH-7k@gemulon.postgresql.org
1 parent2ec005b commit936e3fa

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

‎src/test/modules/test_pg_dump/expected/test_pg_dump.out

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,3 +91,5 @@ ALTER EXTENSION test_pg_dump DROP SERVER s0;
9191
ALTER EXTENSION test_pg_dump DROP TABLE test_pg_dump_t1;
9292
ALTER EXTENSION test_pg_dump DROP TYPE test_pg_dump_e1;
9393
ALTER EXTENSION test_pg_dump DROP VIEW test_pg_dump_v1;
94+
DROP OWNED BY regress_dump_test_role RESTRICT;
95+
DROP ROLE regress_dump_test_role;

‎src/test/modules/test_pg_dump/sql/test_pg_dump.sql

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -106,3 +106,6 @@ ALTER EXTENSION test_pg_dump DROP SERVER s0;
106106
ALTER EXTENSION test_pg_dumpDROPTABLEtest_pg_dump_t1;
107107
ALTER EXTENSION test_pg_dump DROP TYPE test_pg_dump_e1;
108108
ALTER EXTENSION test_pg_dump DROP VIEW test_pg_dump_v1;
109+
110+
DROP OWNED BY regress_dump_test_role RESTRICT;
111+
DROP ROLE regress_dump_test_role;

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp