Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
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

+2-3
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

+2-2
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)