[pgpool-committers: 6594] pgpool: Fix last status changed timestamp is not set.

Tatsuo Ishii ishii at sraoss.co.jp
Wed Feb 26 10:43:44 JST 2020


Fix last status changed timestamp is not set.

If there's no status file or -D is specified when starting up
Pgpool-II, the last status changed timestamp was not set and
pcp_node_info command for example did not show the proper timestamp,
rather showed 1970/1/1, which is the Unix timestamp epoch.

Note that correct timestamp is set once clients connect to Pgpool-II
because at that time the status is changed from "waiting" to "up". So
the phenomena is only observed before any client connects to the
server.

Branch
------
master

Details
-------
https://git.postgresql.org/gitweb?p=pgpool2.git;a=commitdiff;h=d15a4caeb8c65100251023c4ad3b229aef2b5f94

Modified Files
--------------
src/main/pgpool_main.c | 11 ++++++++++-
1 file changed, 10 insertions(+), 1 deletion(-)



More information about the pgpool-committers mailing list