On 11/01/2012 07:32 PM, Dongkuo Ma wrote:
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.
What is the Python code being used?
Using tcpdump, I found the server reset the connection immediately after connected, and i cann't find any log about this.
Should be in /var/log/postgresql
This is the tcpdump log http://pastebin.com/uW0at4Zd
-- 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