Cursor copy_from with server crash

From: Grant McKenzie <mckenzig(at)optonline(dot)net>
To: "psycopg(at)postgresql(dot)org" <psycopg(at)postgresql(dot)org>
Subject: Cursor copy_from with server crash
Date: 2011-09-29 14:36:38
Message-ID: EFD88CB8-3A92-4C89-833F-5302F9E9DAB0@optonline.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: psycopg

Hi

Using copy_from to insert a bunch of data. While this is running, the server host crashes and restarts. Getting a stacktrace from our client process, the copy_from never returned ( presumably no tcp close was received )

Are there any common designs for protecting from host crashes, particularly when using copy_from?

Psycopg2 version 2.0.8

Regards
Grant

Responses

Browse psycopg by date

  From Date Subject
Next Message Croepha 2011-09-29 19:34:31 A successful SELECT 1; on failed connection
Previous Message Daniele Varrazzo 2011-09-26 05:13:45 Re: Problems with Python 3.2.