Re: Missing documentation for error code: 80S01

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

> "Donald Fraser"  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
Дата:
От: Gabriele Bartolini
Дата:
FAQ