Content-Length: 287034 | pFad | http://github.com/postgrespro/postgres/commit/b62303794efd97f2afb55f1e1b82fffae2cf8a2d

C7 Fix sloppy cleanup of roles in privileges.sql. · postgrespro/postgres@b623037 · GitHub
Skip to content

Commit b623037

Browse files
committed
Fix sloppy cleanup of roles in privileges.sql.
Commit 3d14e17 dropped regress_roleoption_donor twice and regress_roleoption_protagonist not at all. Leaving roles behind after "make installcheck" is unfriendly in its own right, plus it causes repeated runs of "make installcheck" to fail.
1 parent 75b8d3d commit b623037

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed

src/test/regress/expected/privileges.out

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2846,7 +2846,6 @@ DROP TABLE regress_roleoption.t2;
28462846
DROP TABLE regress_roleoption.t3;
28472847
DROP TABLE regress_roleoption.t4;
28482848
DROP SCHEMA regress_roleoption;
2849-
DROP ROLE regress_roleoption_recipient;
2850-
DROP ROLE regress_roleoption_donor;
2849+
DROP ROLE regress_roleoption_protagonist;
28512850
DROP ROLE regress_roleoption_donor;
2852-
ERROR: role "regress_roleoption_donor" does not exist
2851+
DROP ROLE regress_roleoption_recipient;

src/test/regress/sql/privileges.sql

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1849,6 +1849,6 @@ DROP TABLE regress_roleoption.t2;
18491849
DROP TABLE regress_roleoption.t3;
18501850
DROP TABLE regress_roleoption.t4;
18511851
DROP SCHEMA regress_roleoption;
1852-
DROP ROLE regress_roleoption_recipient;
1853-
DROP ROLE regress_roleoption_donor;
1852+
DROP ROLE regress_roleoption_protagonist;
18541853
DROP ROLE regress_roleoption_donor;
1854+
DROP ROLE regress_roleoption_recipient;

0 commit comments

Comments
 (0)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/postgrespro/postgres/commit/b62303794efd97f2afb55f1e1b82fffae2cf8a2d

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy