转发: Copy cmd error

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxx 写道:
日期: Mon, 27 Aug 2007 16:18:35 +0800 (CST)
发件人: <qinghuamail-postgresqlfans@xxxxxxxxx>
主题: Copy cmd error
收件人: postgresql-admin <pgsql-admin@xxxxxxxxxxxxxx>

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!




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

[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux