Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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

psycopg by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group