Re: [HACKERS] COPY FROM with CSV header

2005-10-06 Thread Andrew Dunstan
Jim C. Nasby wrote: Instead of ignoring the first line of a COPY FROM ... WITH CSV HEADER, what about allowing the first line to be used as a list of field names? This means you wouldn't have to include field order in the COPY command if the names matched field names in the table. It was

[HACKERS] COPY FROM with CSV header

2005-10-03 Thread Jim C. Nasby
Instead of ignoring the first line of a COPY FROM ... WITH CSV HEADER, what about allowing the first line to be used as a list of field names? This means you wouldn't have to include field order in the COPY command if the names matched field names in the table. -- Jim C. Nasby, Sr. Engineering