Re: Missing documentation for error code: 80S01

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



----- Original Message ----- From: "Kevin Grittner" <Kevin.Grittner@xxxxxxxxxxxx>

"Donald Fraser" <postgres@xxxxxxxxxxxxxxx> 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

--
Sent via pgsql-admin mailing list (pgsql-admin@xxxxxxxxxxxxxx)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-admin


[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux