Re: [JDBC] [ADMIN] Missing documentation for error code: 80S01

Поиск
Список
Период
Сортировка
От Donald Fraser
Тема Re: [JDBC] [ADMIN] Missing documentation for error code: 80S01
Дата
Msg-id D100DC2FEE9E48788D640D6E7E110D21@DEVELOP1
обсуждение исходный текст
Ответы Re: [JDBC] [ADMIN] Missing documentation for error code: 80S01  (Robert Haas <robertmhaas@gmail.com>)
Список pgsql-bugs
From: "Oliver Jowett" <oliver@opencloud.com>
> If the server is shut down mid-query, doesn't the backend complete the
> current query cycle before closing the connection?
> i.e. we'd see ErrorResponse, ReadyForQuery, and return control to the
> app before seeing EOF anyway?
> The protocol spec is a bit vague there.

From an observation perspective only: It would seem that in the case where
the server is shut down gracefully yes, however in the case where the server
has either crashed or the connection terminated un-gracefully via software
control (for example a C funcion: elog(FATAL, "Terminating connection...");)
then no.

Donald


В списке pgsql-bugs по дате отправления:

Предыдущее
От: hubert depesz lubaczewski
Дата:
Сообщение: 9.1 doesn't start when died mid-backup
Следующее
От: Heikki Linnakangas
Дата:
Сообщение: Re: 9.1 doesn't start when died mid-backup