mirror of
https://github.com/postgres/postgres.git
synced 2025-07-31 22:04:40 +03:00
Add pg_conf_load_time() function to report when the Postgres configuration
files were last loaded. George Gensure
This commit is contained in:
@ -4,7 +4,7 @@
|
||||
*
|
||||
* Copyright (c) 2000-2008, PostgreSQL Global Development Group
|
||||
*
|
||||
* $PostgreSQL: pgsql/src/backend/utils/misc/guc-file.l,v 1.53 2008/01/01 19:45:54 momjian Exp $
|
||||
* $PostgreSQL: pgsql/src/backend/utils/misc/guc-file.l,v 1.54 2008/05/04 21:13:35 tgl Exp $
|
||||
*/
|
||||
|
||||
%{
|
||||
@ -309,6 +309,9 @@ ProcessConfigFile(GucContext context)
|
||||
PGC_S_FILE, GUC_ACTION_SET, true);
|
||||
}
|
||||
|
||||
/* Remember when we last successfully loaded the config file. */
|
||||
PgReloadTime = GetCurrentTimestamp();
|
||||
|
||||
cleanup_list:
|
||||
free_name_value_list(head);
|
||||
if (cvc)
|
||||
|
Reference in New Issue
Block a user