Skip site navigation (1) Skip section navigation (2)

Re: [JDBC] Missing documentation for error code: 80S01

From: "Donald Fraser" <postgres(at)kiwi-fraser(dot)net>
To: "[BUGS]" <pgsql-bugs(at)postgresql(dot)org>, "[ADMIN]" <pgsql-admin(at)postgresql(dot)org>
Subject: Re: [JDBC] Missing documentation for error code: 80S01
Date: 2011-04-13 10:52:13
Message-ID: D100DC2FEE9E48788D640D6E7E110D21@DEVELOP1 (view raw or flat)
Thread:
Lists: pgsql-adminpgsql-bugspgsql-jdbc
From: "Oliver Jowett" <oliver(at)opencloud(dot)com>
> If the server is shut down mid-query, doesn't the backend complete the
> current query cycle before closing the connection?
> i.e. we'd see ErrorResponse, ReadyForQuery, and return control to the
> app before seeing EOF anyway?
> The protocol spec is a bit vague there.

From an observation perspective only: It would seem that in the case where 
the server is shut down gracefully yes, however in the case where the server 
has either crashed or the connection terminated un-gracefully via software 
control (for example a C funcion: elog(FATAL, "Terminating connection...");) 
then no.

Donald 


In response to

Responses

pgsql-admin by date

Next:From: Vibhor KumarDate: 2011-04-13 11:58:48
Subject: Re: unsupported header version error
Previous:From: Oliver JowettDate: 2011-04-13 10:30:17
Subject: Re: [JDBC] Missing documentation for error code: 80S01

pgsql-bugs by date

Next:From: Heikki LinnakangasDate: 2011-04-13 11:18:30
Subject: Re: 9.1 doesn't start when died mid-backup
Previous:From: Oliver JowettDate: 2011-04-13 10:30:17
Subject: Re: [JDBC] Missing documentation for error code: 80S01

pgsql-jdbc by date

Next:From: Kasprzyk Maciej-FHC368Date: 2011-04-14 11:10:30
Subject: feature request: make support for java.sql.Types.DISTINCT optional
Previous:From: Oliver JowettDate: 2011-04-13 10:30:17
Subject: Re: [JDBC] Missing documentation for error code: 80S01

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group