Add a few current_* variable index entries to the docs.

Guillaume Lelarge
This commit is contained in:
Bruce Momjian 2007-11-28 05:13:41 +00:00
parent 497365f48a
commit 492ae18f0d
1 changed files with 13 additions and 1 deletions

View File

@ -1,4 +1,4 @@
<!-- $PostgreSQL: pgsql/doc/src/sgml/func.sgml,v 1.412 2007/11/27 18:29:11 tgl Exp $ -->
<!-- $PostgreSQL: pgsql/doc/src/sgml/func.sgml,v 1.413 2007/11/28 05:13:41 momjian Exp $ -->
<chapter id="functions">
<title>Functions and Operators</title>
@ -10722,6 +10722,18 @@ select current_date + s.a as dates from generate_series(0,14,7) as s(a);
<secondary>current</secondary>
</indexterm>
<indexterm>
<primary>current_database</primary>
</indexterm>
<indexterm>
<primary>current_schema</primary>
</indexterm>
<indexterm>
<primary>current_user</primary>
</indexterm>
<para>
The <function>session_user</function> is normally the user who initiated
the current database connection; but superusers can change this setting