From 29a20145fd2d1859eb3ec1788240244d0b50f68f Mon Sep 17 00:00:00 2001 From: Peter Eisentraut Date: Wed, 3 Sep 2003 22:05:09 +0000 Subject: Pass session_authorization to the client and make psql update its prompt accordingly. --- doc/src/sgml/ref/psql-ref.sgml | 23 ++++++++++++++++++----- 1 file changed, 18 insertions(+), 5 deletions(-) (limited to 'doc/src/sgml/ref') diff --git a/doc/src/sgml/ref/psql-ref.sgml b/doc/src/sgml/ref/psql-ref.sgml index 35e33e7fe21..1d6da0e3b2d 100644 --- a/doc/src/sgml/ref/psql-ref.sgml +++ b/doc/src/sgml/ref/psql-ref.sgml @@ -1,5 +1,5 @@ @@ -2214,8 +2214,14 @@ testdb=> \set content '\'' `sed -e "s/'/\\\\\\'/g" < my_file.txt` '\' %n - The user name you are connected as (not your local system - user name). + + + The database session user name. (The expansion of this + value might change during a database session as the result + of the command SET SESSION + AUTHORIZATION.) + + @@ -2231,8 +2237,15 @@ testdb=> \set content '\'' `sed -e "s/'/\\\\\\'/g" < my_file.txt` '\' %# - If the current user is a database superuser, then a - #, otherwise a >. + + + If the session user is a database superuser, then a + #, otherwise a >. + (The expansion of this value might change during a database + session as the result of the command SET SESSION + AUTHORIZATION.) + + -- cgit v1.2.3