Re: COPY formatting

Поиск
Список
Период
Сортировка
От Greg Stark
Тема Re: COPY formatting
Дата
Msg-id 87ish1y00f.fsf@stark.xeocode.com
обсуждение исходный текст
Ответ на Re: COPY formatting  (Tom Lane <tgl@sss.pgh.pa.us>)
Список 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 по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: COPY formatting
Следующее
От: Joseph Shraibman
Дата:
Сообщение: Re: Will auto-cluster be in 7.5?