pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: feng xinguo <feng.xinguo@yahoo.com>
To: pgsql-admin@postgresql.org
Subject: use copy command!
Date: Mon, 27 Aug 2007 16:17:07 +0800 (CST)
Message-ID: <590927.22426.qm@web58111.mail.re3.yahoo.com> (raw)

hi,all

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?

thanks!

       
---------------------------------
雅虎邮箱,以安全著称,是值得信赖的邮箱专家! 

Message-ID: <590927.22426.qm@web58111.mail.re3.yahoo.com>
Permalink:  ../590927.22426.qm@web58111.mail.re3.yahoo.com/
Also on:    postgresql.org/message-id/590927.22426.qm@web58111.mail.re3.yahoo.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: feng.xinguo@yahoo.com
  Subject: Re: use copy command!
  In-Reply-To: <590927.22426.qm@web58111.mail.re3.yahoo.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