summaryrefslogtreecommitdiff
path: root/doc/src
diff options
context:
space:
mode:
authorBruce Momjian2005-06-14 21:04:42 +0000
committerBruce Momjian2005-06-14 21:04:42 +0000
commitf5835b4b8d569e4d7814886f9e7b90c36d8a4fb5 (patch)
treec84f04d2ca95776f698c10ab700c903bcb87a6c9 /doc/src
parentb5e65c8325ea99da815d2d5a9177aa66961c9dd9 (diff)
Add pg_postmaster_start_time() function.
Euler Taveira de Oliveira Matthias Schmidt
Diffstat (limited to 'doc/src')
-rw-r--r--doc/src/sgml/func.sgml17
1 files changed, 16 insertions, 1 deletions
diff --git a/doc/src/sgml/func.sgml b/doc/src/sgml/func.sgml
index 22baa22aa6d..43df7d595c9 100644
--- a/doc/src/sgml/func.sgml
+++ b/doc/src/sgml/func.sgml
@@ -1,5 +1,5 @@
<!--
-$PostgreSQL: pgsql/doc/src/sgml/func.sgml,v 1.254 2005/06/13 02:40:04 neilc Exp $
+$PostgreSQL: pgsql/doc/src/sgml/func.sgml,v 1.255 2005/06/14 21:04:38 momjian Exp $
PostgreSQL documentation
-->
@@ -8120,6 +8120,12 @@ select current_date + s.a as dates from generate_series(0,14,7) as s(a);
</row>
<row>
+ <entry><function>pg_postmaster_start_time()</function></entry>
+ <entry><type>timestamp with time zone</type></entry>
+ <entry><command>postmaster</> start time</entry>
+ </row>
+
+ <row>
<entry><function>user</function></entry>
<entry><type>name</type></entry>
<entry>equivalent to <function>current_user</function></entry>
@@ -8217,6 +8223,15 @@ SET search_path TO <replaceable>schema</> <optional>, <replaceable>schema</>, ..
</para>
<indexterm zone="functions-info">
+ <primary>pg_postmaster_start_time</primary>
+ </indexterm>
+
+ <para>
+ <function>pg_postmaster_start_time()</function> returns the timestamp with time zone
+ when the <command>postmaster</> started.
+ </para>
+
+ <indexterm zone="functions-info">
<primary>version</primary>
</indexterm>