From: Donald Fraser <postgres@kiwi-fraser.net>
To: [JDBC] <pgsql-jdbc@postgresql.org>
To: [ADMIN] <pgsql-admin@postgresql.org>
Subject: Re: Missing documentation for error code: 80S01
Date: Tue, 12 Apr 2011 17:04:31 +0100
Message-ID: <3670D8885C9549A393E47A0C1582B07A@DEVELOP1> (raw)
References: <00C88DF265FC483EBE2322C834A76698@DEVELOP1>
<4DA42B42020000250003C6F8@gw.wicourts.gov>
----- 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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-admin@postgresql.org
Cc: postgres@kiwi-fraser.net, pgsql-jdbc@postgresql.org
Subject: Re: Missing documentation for error code: 80S01
In-Reply-To: <3670D8885C9549A393E47A0C1582B07A@DEVELOP1>
References: <00C88DF265FC483EBE2322C834A76698@DEVELOP1> <4DA42B42020000250003C6F8@gw.wicourts.gov> <3670D8885C9549A393E47A0C1582B07A@DEVELOP1>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox