Re: pgsql server reset the connection immediately after connected

From: Adrian Klaver <adrian(dot)klaver(at)gmail(dot)com>
To: Dongkuo Ma <luc(dot)mdk(at)gmail(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: pgsql server reset the connection immediately after connected
Date: 2012-11-02 02:32:35
Message-ID: 509330C3.2000805@gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

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(dot)klaver(at)gmail(dot)com

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Adrian Klaver 2012-11-02 02:42:47 Re: pgsql server reset the connection immediately after connected
Previous Message Dongkuo Ma 2012-11-02 02:32:23 Re: pgsql server reset the connection immediately after connected