mirror of
https://github.com/postgres/postgres.git
synced 2025-07-27 12:41:57 +03:00
Add pg_postmaster_start_time() function.
Euler Taveira de Oliveira Matthias Schmidt
This commit is contained in:
@ -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
|
||||
-->
|
||||
|
||||
@ -8119,6 +8119,12 @@ select current_date + s.a as dates from generate_series(0,14,7) as s(a);
|
||||
<entry>session user name</entry>
|
||||
</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>
|
||||
@ -8216,6 +8222,15 @@ SET search_path TO <replaceable>schema</> <optional>, <replaceable>schema</>, ..
|
||||
Unix-domain socket.
|
||||
</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>
|
||||
|
Reference in New Issue
Block a user