diff options
-rw-r--r-- | doc/src/sgml/func.sgml | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/doc/src/sgml/func.sgml b/doc/src/sgml/func.sgml index a3baee14489..c08fe3cecf0 100644 --- a/doc/src/sgml/func.sgml +++ b/doc/src/sgml/func.sgml @@ -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 |