problem with copy_expert on cursor - Mailing list psycopg

From Eric Snow
Subject problem with copy_expert on cursor
Date
Msg-id D2F744D05ED19D45A4A7757F49274A8B0416F788@IAD-WPRD-XCHB01.corp.verio.net
Whole thread Raw
Responses Re: problem with copy_expert on cursor
List 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 by date:

Previous
From: Daniele Varrazzo
Date:
Subject: Re: gmpy adapter
Next
From: "Eric Snow"
Date:
Subject: Re: problem with copy_expert on cursor