Re: Missing documentation for error code: 80S01 - Mailing list pgsql-admin

From Donald Fraser
Subject Re: Missing documentation for error code: 80S01
Date
Msg-id 3670D8885C9549A393E47A0C1582B07A@DEVELOP1
Whole thread Raw
In response to Re: Missing documentation for error code: 80S01  ("Donald Fraser" <postgres@kiwi-fraser.net>)
Responses Re: Missing documentation for error code: 80S01
List 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 by date:

Previous
From: CS DBA
Date:
Subject: what is a serial_fkey data type?
Next
From: Gabriele Bartolini
Date:
Subject: Re: what is a serial_fkey data type?