From 600da67fbe5e5a96fb08eea115ad58ad4990cfea Mon Sep 17 00:00:00 2001 From: Tom Lane Date: Sun, 4 May 2008 21:13:36 +0000 Subject: Add pg_conf_load_time() function to report when the Postgres configuration files were last loaded. George Gensure --- doc/src/sgml/func.sgml | 28 ++++++++++++++++++++++++---- 1 file changed, 24 insertions(+), 4 deletions(-) (limited to 'doc/src') diff --git a/doc/src/sgml/func.sgml b/doc/src/sgml/func.sgml index d0171798675..47727a1f412 100644 --- a/doc/src/sgml/func.sgml +++ b/doc/src/sgml/func.sgml @@ -1,4 +1,4 @@ - + Functions and Operators @@ -10891,6 +10891,12 @@ postgres=# select * from unnest2(array[[1,2],[3,4]]); server start time + + pg_conf_load_time() + timestamp with time zone + configuration load time + + session_user name @@ -11031,9 +11037,23 @@ SET search_path TO schema , schema, .. - pg_postmaster_start_time returns the - timestamp with time zone when the - server started. + pg_postmaster_start_time returns the + timestamp with time zone when the + server started. + + + + pg_conf_load_time + + + + pg_conf_load_time returns the + timestamp with time zone when the + server configuration files were last loaded. + (If the current session was alive at the time, this will be the time + when the session itself re-read the configuration files, so the + reading will vary a little in different sessions. Otherwise it is + the time when the postmaster process re-read the configuration files.) -- cgit v1.2.3