On Sat, Feb 16, 2019 at 8:24 AM Andres Freund <andres(at)anarazel(dot)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