Re: BUG #14356: "FATAL: the database system is starting up" error occurs to queries after PostgreSQL server start - Mailing list pgsql-bugs

From Tom Lane
Subject Re: BUG #14356: "FATAL: the database system is starting up" error occurs to queries after PostgreSQL server start
Date
Msg-id 18654.1475678751@sss.pgh.pa.us
Whole thread Raw
In response to BUG #14356: "FATAL: the database system is starting up" error occurs to queries after PostgreSQL server start  (xrensis@gmail.com)
List pgsql-bugs
xrensis@gmail.com writes:
> After the startup of the PostgreSQL server there is a state when it accepts
> incoming connections but generates "FATAL:  the database system is starting
> up" as results for run queries.

This is not a bug, it's expected behavior.

>     - Is there a known interface to check if the database is up and fully
> functional and ready for queries?

libpq's PQping() is a possibility.

            regards, tom lane

pgsql-bugs by date:

Previous
From: "Rader, David"
Date:
Subject: Re: Wrong results of function age(timestamp, timestamp)
Next
From: digoal@126.com
Date:
Subject: BUG #14357: BUG : old_snapshot_threshold no effect