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

From: Michael Paquier <michael(at)paquier(dot)xyz>
To: Isaac Morland <isaac(dot)morland(at)gmail(dot)com>
Cc: Pg Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Allow COPY's 'text' format to output a header
Date: 2018-05-15 00:23:31
Message-ID: 20180515002331.GC1600@paquier.xyz
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Amit Langote 2018-05-15 00:41:49 Re: Incorrect comment in get_partition_dispatch_recurse
Previous Message Tatsuo Ishii 2018-05-15 00:19:04 Re: Postgres 11 release notes