Re: Allow COPY's 'text' format to output a header - Mailing list pgsql-hackers

From Cynthia Shang
Subject Re: Allow COPY's 'text' format to output a header
Date
Msg-id 05287991-65F9-486A-9954-0428E4A70606@crunchydata.com
Whole thread Raw
In response to Re: Allow COPY's 'text' format to output a header  ("Daniel Verite" <daniel@manitou-mail.org>)
Responses Re: Allow COPY's 'text' format to output a header
List pgsql-hackers
> On Aug 2, 2018, at 8:11 AM, Daniel Verite <daniel@manitou-mail.org> wrote:
>
> That makes sense, thanks for elaborating, although there are also
> a fair number of ERRCODE_FEATURE_NOT_SUPPORTED in copy.c
> that are raised on forbidden/nonsensical combination of features,
> so the consistency argument could work both ways.
>

If there is not a strong reason to change the error code, then I believe we should not. The error is the same as it was
before,just narrower in scope. 

Best,
-Cynthia

pgsql-hackers by date:

Previous
From: Alvaro Herrera
Date:
Subject: Re: Internal error XX000 with enable_partition_pruning=on, pg 11beta1 on Debian
Next
From: Nikhil Sontakke
Date:
Subject: Re: [HACKERS] logical decoding of two-phase transactions