1
1
<!--
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 $
3
3
PostgreSQL documentation
4
4
-->
5
5
@@ -2214,8 +2214,14 @@ testdb=> <userinput>\set content '\'' `sed -e "s/'/\\\\\\'/g" < my_file.txt` '\'
2214
2214
2215
2215
<varlistentry>
2216
2216
<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>
2219
2225
</varlistentry>
2220
2226
2221
2227
<varlistentry>
@@ -2231,8 +2237,15 @@ testdb=> <userinput>\set content '\'' `sed -e "s/'/\\\\\\'/g" < my_file.txt` '\'
2231
2237
2232
2238
<varlistentry>
2233
2239
<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>
2236
2249
</varlistentry>
2237
2250
2238
2251
<varlistentry>