Re: Missing documentation for error code: 80S01

Поиск
Список
Период
Сортировка
От Donald Fraser
Тема Re: Missing documentation for error code: 80S01
Дата
Msg-id 3670D8885C9549A393E47A0C1582B07A@DEVELOP1
обсуждение исходный текст
Ответ на Re: Missing documentation for error code: 80S01  ("Donald Fraser" <postgres@kiwi-fraser.net>)
Ответы Re: Missing documentation for error code: 80S01
Список pgsql-admin
----- Original Message -----
From: "Kevin Grittner" <Kevin.Grittner@wicourts.gov>

> "Donald Fraser" <postgres@kiwi-fraser.net> wrote:
>
>> I was expecting the code to be something like: crash_shutdown,
>> however that appears to be under a completely different error
>> class: 57P02.
>
> If a JDBC client detects that the connection is broken, how would it
> know that it is because the server crashed?
>
You are correct how could it. However the JDBC driver does know
that the server has terminated the connection and not an
IO error (via end of stream or EOF).

Is the error class "57" a better prefix for this type of error?
Knowing that the the only options for server shut down are:
Admin shut-down or Crash shut-down ?

Regards
Donald

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

Предыдущее
От: CS DBA
Дата:
Сообщение: what is a serial_fkey data type?
Следующее
От: Gabriele Bartolini
Дата:
Сообщение: Re: what is a serial_fkey data type?