COPY command and skipping errors - Mailing list pgsql-admin

From Tomeh, Husam
Subject COPY command and skipping errors
Date
Msg-id C45835824D00A844BBD0F032D5CDED920116DD4E@pisgana01sxch01.ana.firstamdata.com
Whole thread Raw
Responses Re: COPY command and skipping errors
List pgsql-admin
 
Is there a way to skip errors during the run of the COPY command (loading data from a file to a table) like what Oracle SQL*Loader has? The reason I'm asking is that if the extract file from the mainframe has an invalid character, the COPY terminates and doesn't continue loading the rest of records.
 
Thanks,


--
 Husam

 

---------------------------(end of broadcast)---------------------------

TIP 3: Have you checked our extensive FAQ?

http://www.postgresql.org/docs/faq

**********************************************************************

This message contains confidential information intended only for the use of the addressee(s)

named above and may contain information that is legally privileged.  If you are not the

addressee, or the person responsible for delivering it to the addressee, you are hereby
notified that reading, disseminating, distributing or copying this message is strictly prohibited. 

If you have received this message by mistake, please immediately notify us by replying to the

message and delete the original message immediately thereafter.

 

Thank you.                                                                                                       FADLD Tag
**********************************************************************

pgsql-admin by date:

Previous
From: "Kevin Keith"
Date:
Subject: Re: Copy command not writing complete data to text file
Next
From: "Tomeh, Husam"
Date:
Subject: Backing up several tables using pg_dump -t