11<!--
2- $Header: /cvsroot/pgsql/doc/src/sgml/ref/psql-ref.sgml,v 1.95 2003/08/31 17:32:24 petere Exp $
2+ $Header: /cvsroot/pgsql/doc/src/sgml/ref/psql-ref.sgml,v 1.96 2003/09/03 22:05:08 petere Exp $
33PostgreSQL documentation
44-->
55
@@ -2214,8 +2214,14 @@ testdb=> <userinput>\set content '\'' `sed -e "s/'/\\\\\\'/g" < my_file.txt` '\'
22142214
22152215 <varlistentry>
22162216 <term><literal>%n</literal></term>
2217- <listitem><para>The user name you are connected as (not your local system
2218- user name).</para></listitem>
2217+ <listitem>
2218+ <para>
2219+ The database session user name. (The expansion of this
2220+ value might change during a database session as the result
2221+ of the command <command>SET SESSION
2222+ AUTHORIZATION</command>.)
2223+ </para>
2224+ </listitem>
22192225 </varlistentry>
22202226
22212227 <varlistentry>
@@ -2231,8 +2237,15 @@ testdb=> <userinput>\set content '\'' `sed -e "s/'/\\\\\\'/g" < my_file.txt` '\'
22312237
22322238 <varlistentry>
22332239 <term><literal>%#</literal></term>
2234- <listitem><para>If the current user is a database superuser, then a
2235- <literal>#</literal>, otherwise a <literal>></literal>.</para></listitem>
2240+ <listitem>
2241+ <para>
2242+ If the session user is a database superuser, then a
2243+ <literal>#</literal>, otherwise a <literal>></literal>.
2244+ (The expansion of this value might change during a database
2245+ session as the result of the command <command>SET SESSION
2246+ AUTHORIZATION</command>.)
2247+ </para>
2248+ </listitem>
22362249 </varlistentry>
22372250
22382251 <varlistentry>