Skip to content

Commit

Permalink
Fix regression test failure for set_user_u
Browse files Browse the repository at this point in the history
Re-run the regression test on top of the most recent feature branch and
produce matching results.

Resolves: #9
  • Loading branch information
mpalmi committed Apr 10, 2018
1 parent 11788c7 commit f284b03
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion expected/set_user.out
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,8 @@ SELECT SESSION_USER, CURRENT_USER;
(1 row)

SELECT set_user('postgres');
ERROR: Switching to superuser only allowed for privileged procedure: 'set_user_u'
ERROR: switching to superuser not allowed
HINT: Use 'set_user_u' to escalate.
SELECT SESSION_USER, CURRENT_USER;
session_user | current_user
--------------+--------------
Expand Down

0 comments on commit f284b03

Please sign in to comment.