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

Appearance settings

Commit 3f920e8

Browse filesBrowse files
committed
Fix back-patch of "Invalidate acl.c caches when pg_authid changes."
Test script role names and error messages differed in v10, 9.6 and 9.5. Discussion: https://postgr.es/m/20201221095028.GB3777719@rfd.leadboat.com
1 parent b81d379 commit 3f920e8
Copy full SHA for 3f920e8

File tree

Expand file treeCollapse file tree

2 files changed

+5
-5
lines changed
Filter options
Expand file treeCollapse file tree

2 files changed

+5
-5
lines changed

‎src/test/regress/expected/privileges.out

Copy file name to clipboardExpand all lines: src/test/regress/expected/privileges.out
+3-3Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -348,10 +348,10 @@ ERROR: permission denied for relation atest3
348348
DELETE FROM atest3; -- ok
349349
BEGIN;
350350
RESET SESSION AUTHORIZATION;
351-
ALTER ROLE regress_priv_user1 NOINHERIT;
352-
SET SESSION AUTHORIZATION regress_priv_user1;
351+
ALTER ROLE regress_user1 NOINHERIT;
352+
SET SESSION AUTHORIZATION regress_user1;
353353
DELETE FROM atest3;
354-
ERROR: permission denied for table atest3
354+
ERROR: permission denied for relation atest3
355355
ROLLBACK;
356356
-- views
357357
SET SESSION AUTHORIZATION regress_user3;

‎src/test/regress/sql/privileges.sql

Copy file name to clipboardExpand all lines: src/test/regress/sql/privileges.sql
+2-2Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -218,8 +218,8 @@ DELETE FROM atest3; -- ok
218218

219219
BEGIN;
220220
RESET SESSION AUTHORIZATION;
221-
ALTER ROLE regress_priv_user1 NOINHERIT;
222-
SET SESSION AUTHORIZATION regress_priv_user1;
221+
ALTER ROLE regress_user1 NOINHERIT;
222+
SET SESSION AUTHORIZATION regress_user1;
223223
DELETE FROM atest3;
224224
ROLLBACK;
225225

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.