Fix last status changed timestamp is not set.
authorTatsuo Ishii <ishii@sraoss.co.jp>
Wed, 26 Feb 2020 01:31:37 +0000 (10:31 +0900)
committerTatsuo Ishii <ishii@sraoss.co.jp>
Wed, 26 Feb 2020 01:31:37 +0000 (10:31 +0900)
commitd15a4caeb8c65100251023c4ad3b229aef2b5f94
treead159908a64ff3c86fcb2f46707f6b41be8f6e2d
parentdfc568688ef03d41fc327b55d0a2bccb015a497d
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.
src/main/pgpool_main.c