Re: Conflict handling for COPY FROM - Mailing list pgsql-hackers

From Andrew Dunstan
Subject Re: Conflict handling for COPY FROM
Date
Msg-id e5a225a0-26d4-cc1b-4144-7305ed928b8d@2ndQuadrant.com
Whole thread Raw
In response to Re: Conflict handling for COPY FROM  (Andres Freund <andres@anarazel.de>)
List pgsql-hackers
On 2/16/19 12:24 AM, Andres Freund wrote:
> Hi,
>
> On 2018-08-23 17:11:04 +0300, Surafel Temesgen wrote:
>> COPY ... WITH ON CONFLICT LOG maximum_error, LOG FILE NAME '…';
> This doesn't seem to address Robert's point that a log file requires to
> be super user only, which seems to restrict the feature more than
> necessary?
>

I liked Jim Nasby's idea of having it call a function rather than
writing to a log file.


cheers


andrew


-- 
Andrew Dunstan                https://www.2ndQuadrant.com
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services



pgsql-hackers by date:

Previous
From: Tomas Vondra
Date:
Subject: Re: [Patch][WiP] Tweaked LRU for shared buffers
Next
From: Joe Conway
Date:
Subject: Re: pg_config wrongly marked as not parallel safe?