转发: Copy cmd error

From: <qinghuamail-postgresqlfans(at)yahoo(dot)com>
To: postgresql-admin <pgsql-admin(at)postgresql(dot)org>
Subject: 转发: Copy cmd error
Date: 2007-08-28 02:15:24
Message-ID: 578352.81359.qm@web58114.mail.re3.yahoo.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(at)yahoo(dot)com 写道: 日期: Mon, 27 Aug 2007 16:18:35 +0800 (CST)
发件人: <qinghuamail-postgresqlfans(at)yahoo(dot)com>
主题: [ADMIN] Copy cmd error
收件人: postgresql-admin <pgsql-admin(at)postgresql(dot)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!


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

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Kevin Kempter 2007-08-28 03:33:15 how to tell what tables have been vacuumed ?
Previous Message Tom Lane 2007-08-27 23:17:02 Re: how is pitr replay interruption time determined?