Error Handling with COPY command - Mailing list pgsql-admin

From Kevin Keith
Subject Error Handling with COPY command
Date
Msg-id 443408FA.9000607@borderware.com
Whole thread Raw
List pgsql-admin
I was wondering if anything has been implemented or is in the works in a
future version - where when provided setting / flag / max number of
errors - the COPY command would not fail on the error and continue
loading data. It would then put the data that didn't load due to error
in another location (i.e. an error data file, or an error table). When
performing bulk data loads, it would be useful to have this type of
feature, and avoid the need to vacuum the table after a large data load
quits due to one error.

I have worked with Oracle in the past, and it has a similar feature the
SQL Loader. A threshold is set to x, and it will only stop after x
number of errors were encountered.

I have seen a few threads on this subject - I was wondering if this is /
will be included in a future version, or whether the concept is dead
because of its potential risks (i.e. the COPY command would be told to
ignore errors and continue).

Thanks,
Kevin

pgsql-admin by date:

Previous
From: "Rosser Schwarz"
Date:
Subject: Re: PITR Based replication ...
Next
From: Robin Iddon
Date:
Subject: Re: PITR Based replication ...