Re: BUG #14356: "FATAL: the database system is starting up" error occurs to queries after PostgreSQL server start
В списке pgsql-bugs по дате отправления:
| От | Heikki Linnakangas |
|---|---|
| Тема | Re: BUG #14356: "FATAL: the database system is starting up" error occurs to queries after PostgreSQL server start |
| Дата | |
| Msg-id | 1b38b100-97ba-48ac-feba-9fac53977cc3@iki.fi обсуждение |
| Ответ на | BUG #14356: "FATAL: the database system is starting up" error occurs to queries after PostgreSQL server start (xrensis@gmail.com) |
| Ответы |
Re: BUG #14356: "FATAL: the database system is starting up"
error occurs to queries after PostgreSQL server start
|
| Список | pgsql-bugs |
On 10/05/2016 05:25 PM, xrensis@gmail.com wrote: > 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. That's not a bug, that's the way it's designed to work. > - Is there a known interface to check if the database is up and fully > functional and ready for queries? The simplest way is to run a query with e.g. "psql -c 'select 1'", and see if it works. Note that you can also use "pg_ctl start -w" to have pg_ctl wait for the database to fully start up, before it returns. > - Is it possible theoretically that the result of a query is incorrect > and does not match the actual data in the database? No. (Assuming there are no bugs, hardware failure, etc, of course). - Heikki
В списке pgsql-bugs по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера