COPY: "column list too long"

Robert Coup <[email protected]>
Newsgroups gmane.comp.python.db.psycopg.devel
Message-ID <[email protected]>
Hey folks,
ran into a new one
today: the above error when trying to do a COPY FROM with a 116-column source.

From digging in the source, psyco_curs_copy_from (cursor_type.c:1070) builds
a 1KB string of the column names to pass to the DB. Is there any particular
reason it's 1KB and not 2 or 4 or 8 (ie. can i change it)? I noted that in
2.0.6 it used a DEFAULT_COPYBUFF constant but has since been hardcoded.

Cheers,

Rob :)

_______________________________________________
Psycopg mailing list
Psycopg-IAPFreCvJWPBWskQ1e/[email protected]
http://lists.initd.org/mailman/listinfo/psycopg
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.