Re: Allow COPY's 'text' format to output a header

From: Cynthia Shang <cynthia(dot)shang(at)crunchydata(dot)com>
To: Daniel Verite <daniel(at)manitou-mail(dot)org>
Cc: Simon Muller <samullers(at)gmail(dot)com>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: Allow COPY's 'text' format to output a header
Date: 2018-08-02 15:07:00
Message-ID: 05287991-65F9-486A-9954-0428E4A70606@crunchydata.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers


> On Aug 2, 2018, at 8:11 AM, Daniel Verite <daniel(at)manitou-mail(dot)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

In response to

Responses

Browse pgsql-hackers by date

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