pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Dimitri Fontaine <dfontaine@hi-media.com>
To: pgsql-admin@postgresql.org
To: qinghuamail-postgresqlfans@yahoo.com
Subject: Re: {Spam} Copy cmd error
Date: Mon, 27 Aug 2007 17:53:59 +0200
Message-ID: <200708271754.02347.dfontaine@hi-media.com> (raw)
In-Reply-To: <972942.48089.qm@web58108.mail.re3.yahoo.com>
References: <972942.48089.qm@web58108.mail.re3.yahoo.com>

Hi,

Le lundi 27 août 2007, qinghuamail-postgresqlfans@yahoo.com a écrit :
> I use COPY cmd to import large data to database,but I have a question,
>
> when  occured the first error, It always stopped, I need it to be
> continue,and reject the error rows to a file, how to do this?

You can try out pgloader, which has been made for this kind of requirements.
  http://pgloader.projects.postgresql.org/

Please consider downloading the later version available, which is 2.2.1 as of 
now.

Regards,
-- 
dim

Attachments:

  signature.asc (application/pgp-signature, 188B) download

Message-ID: <200708271754.02347.dfontaine@hi-media.com>
Permalink:  ../200708271754.02347.dfontaine@hi-media.com/
Also on:    postgresql.org/message-id/200708271754.02347.dfontaine@hi-media.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-admin@postgresql.org
  Cc: dfontaine@hi-media.com, qinghuamail-postgresqlfans@yahoo.com
  Subject: Re: {Spam} Copy cmd error
  In-Reply-To: <200708271754.02347.dfontaine@hi-media.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox