From cde8bbc413d006b3534d42bd7a789e3820a95596 Mon Sep 17 00:00:00 2001 From: Bruce Momjian Date: Wed, 19 Feb 2003 04:06:28 +0000 Subject: This patch makes the following changes to the documentation: - more work from the SGML police - some grammar improvements: rewriting a paragraph or two, replacing contractions where (IMHO) appropriate - fix missing utility commands in lock mode docs - improve CLUSTER, REINDEX, SET SESSION AUTHORIZATION ref pages Neil Conway --- doc/src/sgml/ref/set_session_auth.sgml | 32 +++++++++++++++++--------------- 1 file changed, 17 insertions(+), 15 deletions(-) (limited to 'doc/src/sgml/ref/set_session_auth.sgml') diff --git a/doc/src/sgml/ref/set_session_auth.sgml b/doc/src/sgml/ref/set_session_auth.sgml index eb9d760f10e..88d5578498c 100644 --- a/doc/src/sgml/ref/set_session_auth.sgml +++ b/doc/src/sgml/ref/set_session_auth.sgml @@ -1,4 +1,4 @@ - + 2001-04-21 @@ -16,7 +16,7 @@ -SET [ SESSION | LOCAL ] SESSION AUTHORIZATION username +SET [ SESSION | LOCAL ] SESSION AUTHORIZATION username SET [ SESSION | LOCAL ] SESSION AUTHORIZATION DEFAULT RESET SESSION AUTHORIZATION @@ -27,12 +27,12 @@ RESET SESSION AUTHORIZATION This command sets the session user identifier and the current user - identifier of the current SQL-session context to be - username. The user name may be written as - either an identifier or a string literal. - The session user identifier is valid for the duration of a - connection; for example, it is possible to temporarily become an - unprivileged user and later switch back to become a superuser. + identifier of the current SQL-session context to be username. The user name may be + written as either an identifier or a string literal. The session + user identifier is valid for the duration of a connection; for + example, it is possible to temporarily become an unprivileged user + and later switch back to become a superuser. @@ -68,19 +68,21 @@ RESET SESSION AUTHORIZATION Examples - -SELECT SESSION_USER, CURRENT_USER; - current_user | session_user + +SELECT SESSION_USER, CURRENT_USER; + + session_user | current_user --------------+-------------- peter | peter -SET SESSION AUTHORIZATION 'paul'; +SET SESSION AUTHORIZATION 'paul'; + +SELECT SESSION_USER, CURRENT_USER; -SELECT SESSION_USER, CURRENT_USER; - current_user | session_user + session_user | current_user --------------+-------------- paul | paul - + -- cgit v1.2.3