Re: COPY formatting - Mailing list pgsql-hackers

From Greg Stark
Subject Re: COPY formatting
Date
Msg-id 87ish1y00f.fsf@stark.xeocode.com
Whole thread Raw
In response to Re: COPY formatting  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
Tom Lane <tgl@sss.pgh.pa.us> writes:

> Does that fall into the category of stuff that could be supported by the
> kind of API we're talking about?  I should think that XML would need a
> much more global view of the data, not just line-by-line reformatting.

I saw it the other way around. The only reason I saw for writing code in COPY
directly was if it needed a more global view of the data. Any line-by-line
reformatting could just be done with a perl one-liner. 

If it can't do that what's the advantage? Speed?

-- 
greg



pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: COPY formatting
Next
From: Joseph Shraibman
Date:
Subject: Re: Will auto-cluster be in 7.5?