Re: Please implement a catch-all error handler per row, for COPY

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: me nefcanto <sn(dot)1361(at)gmail(dot)com>
Cc: pgsql-general(at)lists(dot)postgresql(dot)org
Subject: Re: Please implement a catch-all error handler per row, for COPY
Date: 2025-03-01 16:20:12
Message-ID: 2961422.1740846012@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

me nefcanto <sn(dot)1361(at)gmail(dot)com> writes:
> Can you please provide a row-level catch-all handler for the copy command?

Very unlikely to happen. COPY is not intended as a general purpose
ETL mechanism, and we don't want to load it down with features that
would create substantial performance penalties. Which that would.

Even ignoring the performance angle, this request seems remarkably
ill-specified. What is a "row-level handler" for errors that have
to do with identifying row boundaries?

regards, tom lane

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Adrian Klaver 2025-03-01 16:31:08 Re: Please implement a catch-all error handler per row, for COPY
Previous Message me nefcanto 2025-03-01 15:18:41 Please implement a catch-all error handler per row, for COPY