Cursor copy_from with server crash

Поиск
Список
Период
Сортировка
От Grant McKenzie
Тема Cursor copy_from with server crash
Дата
Msg-id EFD88CB8-3A92-4C89-833F-5302F9E9DAB0@optonline.net
обсуждение исходный текст
Ответы Re: Cursor copy_from with server crash
Список 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 по дате отправления:

Предыдущее
От: Daniele Varrazzo
Дата:
Сообщение: Re: Problems with Python 3.2.
Следующее
От: Croepha
Дата:
Сообщение: A successful SELECT 1; on failed connection