Cursor copy_from with server crash - Mailing list psycopg

From Grant McKenzie
Subject Cursor copy_from with server crash
Date
Msg-id EFD88CB8-3A92-4C89-833F-5302F9E9DAB0@optonline.net
Whole thread Raw
Responses Re: Cursor copy_from with server crash
List psycopg
Hi

Using copy_from to insert a bunch of data. While this is running, the server host crashes and restarts. Getting a
stacktracefrom 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


psycopg by date:

Previous
From: Daniele Varrazzo
Date:
Subject: Re: Problems with Python 3.2.
Next
From: Croepha
Date:
Subject: A successful SELECT 1; on failed connection