|
1 |
| -<!-- $PostgreSQL: pgsql/doc/src/sgml/func.sgml,v 1.412 2007/11/27 18:29:11 tgl Exp $ --> |
| 1 | +<!-- $PostgreSQL: pgsql/doc/src/sgml/func.sgml,v 1.413 2007/11/28 05:13:41 momjian Exp $ --> |
2 | 2 |
|
3 | 3 | <chapter id="functions">
|
4 | 4 | <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);
|
10722 | 10722 | <secondary>current</secondary>
|
10723 | 10723 | </indexterm>
|
10724 | 10724 |
|
| 10725 | + <indexterm> |
| 10726 | + <primary>current_database</primary> |
| 10727 | + </indexterm> |
| 10728 | + |
| 10729 | + <indexterm> |
| 10730 | + <primary>current_schema</primary> |
| 10731 | + </indexterm> |
| 10732 | + |
| 10733 | + <indexterm> |
| 10734 | + <primary>current_user</primary> |
| 10735 | + </indexterm> |
| 10736 | + |
10725 | 10737 | <para>
|
10726 | 10738 | The <function>session_user</function> is normally the user who initiated
|
10727 | 10739 | the current database connection; but superusers can change this setting
|
|