On Wed, Sep 21, 2011 at 9:10 PM, James Henstridge
<email address hidden> wrote:
> Note that there is no pgcode attribute for disconnection errors: you
> only get those for errors reported from the database. By their nature,
> disconnection errors are reported when the client can't communicate with
> the database.
From the linked page:
08000 CONNECTION EXCEPTION connection_exception
08003 CONNECTION DOES NOT EXIST connection_does_not_exist
08006 CONNECTION FAILURE connection_failure
08001 SQLCLIENT UNABLE TO ESTABLISH
SQLCONNECTION sqlclient_unable_to_establish_sqlconnection
On Wed, Sep 21, 2011 at 9:10 PM, James Henstridge
<email address hidden> wrote:
> Note that there is no pgcode attribute for disconnection errors: you
> only get those for errors reported from the database. By their nature,
> disconnection errors are reported when the client can't communicate with
> the database.
From the linked page: exception does_not_ exist unable_ to_establish_ sqlconnection
08000 CONNECTION EXCEPTION connection_
08003 CONNECTION DOES NOT EXIST connection_
08006 CONNECTION FAILURE connection_failure
08001 SQLCLIENT UNABLE TO ESTABLISH
SQLCONNECTION sqlclient_
Seem relevant.
_Rob