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

From Michael Paquier
Subject Re: Allow COPY's 'text' format to output a header
Date
Msg-id 20180515002331.GC1600@paquier.xyz
Whole thread Raw
In response to Re: Allow COPY's 'text' format to output a header  (Isaac Morland <isaac.morland@gmail.com>)
List pgsql-hackers
On Mon, May 14, 2018 at 04:08:47PM -0400, Isaac Morland wrote:
> While we're discussing COPY options, what do people think of an option for
> COPY FROM with header to require that the headers match the target column
> names? This would help to ensure that the file is actually the right one.

I am personally not much into such sanity check logics in COPY FWIW if
we can live without.
--
Michael

Attachment

pgsql-hackers by date:

Previous
From: Tatsuo Ishii
Date:
Subject: Re: Postgres 11 release notes
Next
From: Amit Langote
Date:
Subject: Re: Incorrect comment in get_partition_dispatch_recurse