Skip site navigation (1) Skip section navigation (2)

转发: 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: (view raw, whole thread or download thread mbox)
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>


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?




pgsql-admin by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group