Re: Conflict handling for COPY FROM

Поиск
Список
Период
Сортировка
От Andrew Dunstan
Тема Re: Conflict handling for COPY FROM
Дата
Msg-id e5a225a0-26d4-cc1b-4144-7305ed928b8d@2ndQuadrant.com
обсуждение исходный текст
Ответ на Re: Conflict handling for COPY FROM  (Andres Freund <andres@anarazel.de>)
Список 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 по дате отправления:

Предыдущее
От: Tomas Vondra
Дата:
Сообщение: Re: [Patch][WiP] Tweaked LRU for shared buffers
Следующее
От: Joe Conway
Дата:
Сообщение: Re: pg_config wrongly marked as not parallel safe?