Sorry! I typed the enter key and sent the uncomplete message.
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. when executing any sql statement. Using tcpdump, I found the server reset the connection immediately after connected, and i cann't find any log about this. This is the tcpdump log http://pastebin.com/uW0at4Zd On Fri, Nov 2, 2012 at 10:24 AM, Dongkuo Ma <luc....@gmail.com> 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. > > 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. > * > * > > >