Re: Different length lines in COPY CSV - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Different length lines in COPY CSV
Date
Msg-id 2548.1134403841@sss.pgh.pa.us
Whole thread Raw
In response to Re: Different length lines in COPY CSV  (Andrew Dunstan <andrew@dunslane.net>)
Responses Re: Different length lines in COPY CSV  (Andrew Dunstan <andrew@dunslane.net>)
List pgsql-hackers
Andrew Dunstan <andrew@dunslane.net> writes:
> Tom Lane wrote:
>> What's been suggested in the past is some sort of standalone
>> file-format-conversion utility,

> Anyway, that's history now. Where would you want this file conversion 
> utility? bin? contrib? pgfoundry?

I'd say pgfoundry for starters --- there's no reason to tie it down
to server release cycles.  Maybe when the thing is fairly mature and
doesn't need frequent releases, we could think about whether it ought
to be brought into the core distro.

However, it likely won't ever be a candidate to become part of core
unless it's written in C, and offhand I would judge C to not be the
best choice of implementation language for such a thing.  This is surely
going to be mostly a string-pushing type of problem, so something like
perl might be a better bet.
        regards, tom lane


pgsql-hackers by date:

Previous
From: Alvaro Herrera
Date:
Subject: Re: pg_relation_size locking
Next
From: Andrew Dunstan
Date:
Subject: Re: default resource limits