Re: Conflict handling for COPY FROM

Поиск
Список
Период
Сортировка
От Surafel Temesgen
Тема Re: Conflict handling for COPY FROM
Дата
Msg-id CALAY4q8vD-FY--nWDVv509-95NgTEbL6UGY-MEY0+-J540fSpA@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Conflict handling for COPY FROM  (Andres Freund <andres@anarazel.de>)
Ответы Re: Conflict handling for COPY FROM  (Andres Freund <andres@anarazel.de>)
Список pgsql-hackers


On Sat, Feb 16, 2019 at 8:24 AM Andres Freund <andres@anarazel.de> 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?

- Andres


I think having write permission on specified directory is enough.
we use out put file name in COPY TO similarly.

regards
Surafel

В списке pgsql-hackers по дате отправления:

Предыдущее
От: Surafel Temesgen
Дата:
Сообщение: Re: Conflict handling for COPY FROM
Следующее
От: Michael Meskes
Дата:
Сообщение: Re: [Bug Fix] ECPG: could not use set xxx to default statement