Re: [PATCH] COPY .. COMPRESSED

Поиск
Список
Период
Сортировка
От Andrew Dunstan
Тема Re: [PATCH] COPY .. COMPRESSED
Дата
Msg-id 50F5E73F.5090808@dunslane.net
обсуждение исходный текст
Ответ на Re: [PATCH] COPY .. COMPRESSED  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
On 01/15/2013 06:22 PM, Tom Lane wrote:
> Stephen Frost <sfrost@snowman.net> writes:
>> Perhaps I'm taking a bit too narrow view of the world, but my thinking
>> is OLTP won't want things compressed, as it increases latency of
>> requests, while OLAP users are operating with enough data that they'll
>> go through the effort to use COPY.
> Also, if there are so many people using COPY in their apps, why have we
> never seen any submitted patches to extend libpq with functions to
> construct/deconstruct COPY data?  Surely somebody would have said to
> themselves that they shouldn't be responsible for knowing those escaping
> rules.

There are perfectly good libraries in Perl and other languages for 
constructing/deconstructing CSV data. If we didn't have CSV 
import/export I suspect we would have heard lots more howls by now.

cheers

andrew



В списке pgsql-hackers по дате отправления:

Предыдущее
От: Andres Freund
Дата:
Сообщение: Re: Curious buildfarm failures (fwd)
Следующее
От: Michael Paquier
Дата:
Сообщение: Re: pg_ctl idempotent option