Re: Nasty, propagating POLA violation in COPY CSV HEADER

From: Josh Berkus <josh(at)agliodbs(dot)com>
To: Marc Mamin <M(dot)Mamin(at)intershop(dot)de>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: Nasty, propagating POLA violation in COPY CSV HEADER
Date: 2012-06-20 17:40:06
Message-ID: 4FE20AF6.1070702@agliodbs.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers


>
> 4) MAP_HEADER ('column 1'-> 'col_1', 'Date' -> 'input_date' ...)
>
> to cover the case when column names do not match.

Personally, I think that's going way beyond what we want to do with
COPY. At that point, check out the CSV-array FDW.

Of course, if someone writes a WIP patch which implements the above, we
can evaluate it then.

--
Josh Berkus
PostgreSQL Experts Inc.
http://pgexperts.com

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Robert Haas 2012-06-20 17:42:32 Re: pgbench--new transaction type
Previous Message Andres Freund 2012-06-20 17:40:05 Re: [PATCH 10/16] Introduce the concept that wal has a 'origin' node