转发: Copy cmd error - Mailing list pgsql-admin

From
Subject 转发: Copy cmd error
Date
Msg-id 578352.81359.qm@web58114.mail.re3.yahoo.com
Whole thread Raw
Responses Re: {Spam}转发: [ADMIN] Copy cmd error  (Dimitri Fontaine <dfontaine@hi-media.com>)
List pgsql-admin
hi, after reading the source of pgloader,i have a idea,use perl to create the flat file, and, when error,reject the row,seek the next line,continue to copy.

thanks everyone.

qinghuamail-postgresqlfans@yahoo.com 写道:
日期: Mon, 27 Aug 2007 16:18:35 +0800 (CST)
发件人: <qinghuamail-postgresqlfans@yahoo.com>
主题: [ADMIN] Copy cmd error
收件人: postgresql-admin <pgsql-admin@postgresql.org>

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!




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

pgsql-admin by date:

Previous
From: Tom Lane
Date:
Subject: Re: how is pitr replay interruption time determined?
Next
From: Kevin Kempter
Date:
Subject: how to tell what tables have been vacuumed ?