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

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: BUG #14356: "FATAL: the database system is starting up" error occurs to queries after PostgreSQL server start
Дата
Msg-id 18654.1475678751@sss.pgh.pa.us
обсуждение исходный текст
Ответ на BUG #14356: "FATAL: the database system is starting up" error occurs to queries after PostgreSQL server start  (xrensis@gmail.com)
Список 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 по дате отправления:

Предыдущее
От: "Rader, David"
Дата:
Сообщение: Re: Wrong results of function age(timestamp, timestamp)
Следующее
От: digoal@126.com
Дата:
Сообщение: BUG #14357: BUG : old_snapshot_threshold no effect