On 11/01/2012 07:24 PM, Dongkuo Ma wrote:
Hi Sorry for my English. I'm running pgsql8.4 server on debian,the client is the python library(psycopg2) on the same mechine. The client connect server via 127.0.0.1:5432 <http://127.0.0.1:5432>. The psycopg2 connect function /succesed,but throw a exception / server closed the connection unexpectedly This probably means the server terminated abnormally before or while processing the request.
Not sure how the connect function could succeed and throw an exception at the same time?
Some more explanation may be needed. What does the Postgres log show?
/ /
-- Adrian Klaver adrian.klaver@xxxxxxxxx -- Sent via pgsql-general mailing list (pgsql-general@xxxxxxxxxxxxxx) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-general