Re: copy_from does not stop reading after an error

From: Karsten Hilbert <Karsten(dot)Hilbert(at)gmx(dot)net>
To: psycopg(at)postgresql(dot)org
Subject: Re: copy_from does not stop reading after an error
Date: 2011-02-08 12:53:17
Message-ID: 20110208125317.GO2869@hermes.hilbert.loc
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: psycopg

On Tue, Feb 08, 2011 at 01:38:20PM +0100, Nicolas Grilly wrote:

> Nice to know that my analysis is right... but eventually it is a bad news
> because the only way to fix the issue is to split input data into many
> chunks

Maybe there can be a parameter to the Python level .copy()
telling psycopg2 which way to do this. The default would be
the standard behaviour as it is now.

Karsten
--
GPG key ID E4071346 @ gpg-keyserver.de
E167 67FD A291 2BEA 73BD 4537 78B9 A9F9 E407 1346

In response to

Browse psycopg by date

  From Date Subject
Next Message Nicolas Grilly 2011-02-08 14:24:34 Re: copy_from does not stop reading after an error
Previous Message Marko Kreen 2011-02-08 12:52:50 Re: copy_from does not stop reading after an error