problem with copy_expert on cursor

Поиск
Список
Период
Сортировка
От Eric Snow
Тема problem with copy_expert on cursor
Дата
Msg-id D2F744D05ED19D45A4A7757F49274A8B0416F788@IAD-WPRD-XCHB01.corp.verio.net
обсуждение исходный текст
Ответы Re: problem with copy_expert on cursor
Список psycopg
What would cause the following error when I call copy_expert on a
DictCursor?

    SystemError: 'null argument to internal routine'

The sql I pass in is the copy, in a string.  The file is a
cStringIO.StringO object.  I am using a custom row factory on the
DictCursor.  So there are a number of things that could be the source of
the error.  However, I am not familiar enough with psycopg to dig this
out.

Incidently, the problem is actually when I am using skytools for
replication, and not actually in any code I have written.  I am using
psycopg2 2.3.2.  Thanks.

-eric


This email message is intended for the use of the person to whom it has been sent, and may contain information that is
confidentialor legally protected. If you are not the intended recipient or have received this message in error, you are
notauthorized to copy, distribute, or otherwise use this message or its attachments. Please notify the sender
immediatelyby return e-mail and permanently delete this message and any attachments. Verio, Inc. makes no warranty that
thisemail is error or virus free.  Thank you. 

В списке psycopg по дате отправления:

Предыдущее
От: Daniele Varrazzo
Дата:
Сообщение: Re: gmpy adapter
Следующее
От: "Eric Snow"
Дата:
Сообщение: Re: problem with copy_expert on cursor