[pgpool-committers: 6593] pgpool: Fix last status changed timestamp is not set.
Tatsuo Ishii
ishii at sraoss.co.jp
Wed Feb 26 10:43:40 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
------
V4_1_STABLE
Details
-------
https://git.postgresql.org/gitweb?p=pgpool2.git;a=commitdiff;h=99abd2e0a86e11ea75028ac4df70bdbe4c4b70dd
Modified Files
--------------
src/main/pgpool_main.c | 11 ++++++++++-
1 file changed, 10 insertions(+), 1 deletion(-)
More information about the pgpool-committers
mailing list