Re: Ragged CSV import - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Ragged CSV import
Date
Msg-id 22797.1252590984@sss.pgh.pa.us
Whole thread Raw
In response to Re: Ragged CSV import  (Dimitri Fontaine <dfontaine@hi-media.com>)
Responses Re: Ragged CSV import
Re: Ragged CSV import
List pgsql-hackers
Dimitri Fontaine <dfontaine@hi-media.com> writes:
> Last time we opened this can of worms here's what it lead us to:
>   http://archives.postgresql.org/pgsql-hackers/2008-04/msg00222.php

Right, that's the discussion I was remembering.

> As already said by Andrew on IRC, though, this goes nowhere to help him
> address his direct concern, COPY would still choke on input lines that
> are containing too few or too many columns...

An easy fix for that is to allow this form of COPY to return text[]
instead of a fixed number of text columns.
        regards, tom lane


pgsql-hackers by date:

Previous
From: Robert Haas
Date:
Subject: Re: Ragged CSV import
Next
From: Robert Haas
Date:
Subject: Re: Ragged CSV import