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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy