Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove action that is no longer true. #85

Open
wants to merge 1 commit into
base: integration
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 6 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,6 @@ Specifically, when an allowed user executes `set_user(text)` or
* The current effective user becomes `rolename`.
* The role transition is logged, with a specific notation if `rolename` is a
superuser.
* `log_statement` setting is set to "all", meaning every SQL statement executed
while in this state will also get logged.
* If `set_user.block_alter_system` is set to "on", `ALTER SYSTEM` commands will
be blocked.
* If `set_user.block_copy_program` is set to "on", `COPY PROGRAM` commands will
Expand Down Expand Up @@ -745,19 +743,19 @@ psql (15.4)
Type "help" for help.

test=> select session_user, current_user, user, current_role;
session_user | current_user | user | current_role
session_user | current_user | user | current_role
--------------+--------------+----------+--------------
dbclient | dbclient | dbclient | dbclient
(1 row)

test=> select set_session_auth('jeff');
set_session_auth
set_session_auth
------------------
OK
(1 row)

test=> select session_user, current_user, user, current_role;
session_user | current_user | user | current_role
session_user | current_user | user | current_role
--------------+--------------+------+--------------
jeff | jeff | jeff | jeff
(1 row)
Expand All @@ -766,23 +764,23 @@ test=> -- the role switch is irrevocable
test=> reset role;
RESET
test=> select session_user, current_user, user, current_role;
session_user | current_user | user | current_role
session_user | current_user | user | current_role
--------------+--------------+------+--------------
jeff | jeff | jeff | jeff
(1 row)

test=> reset session authorization;
RESET
test=> select session_user, current_user, user, current_role;
session_user | current_user | user | current_role
session_user | current_user | user | current_role
--------------+--------------+------+--------------
jeff | jeff | jeff | jeff
(1 row)

test=> set role none;
SET
test=> select session_user, current_user, user, current_role;
session_user | current_user | user | current_role
session_user | current_user | user | current_role
--------------+--------------+------+--------------
jeff | jeff | jeff | jeff
(1 row)
Expand Down