Re: COPY formatting

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: COPY formatting
Дата
Msg-id 29626.1079967420@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: COPY formatting  (Karel Zak <zakkr@zf.jcu.cz>)
Список pgsql-hackers
Karel Zak <zakkr@zf.jcu.cz> writes:
> On Fri, Mar 19, 2004 at 09:54:37AM -0500, Tom Lane wrote:
>> Why?  The client-side code doesn't have any real say over the meaning of
>> the data, at least not in psql-class clients.  I suppose a client app
>> that tries to interpret the data could get confused, but psql sure
>> doesn't do that.

>  libpq, fe-protocol2.c, pqGetCopyData2() and pqGetline2() cut string
>  behind '\n'.

Sure, but that doesn't invalidate the data stream as a whole, it's just
a bufferload boundary choice that won't be very helpful for clients not
using a newline-based data layout.  In any case, v2 protocol is
obsolete and needn't limit our thoughts about what to do in future.
        regards, tom lane


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

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: Custom format for pg_dumpall
Следующее
От: "Matthew T. O'Connor"
Дата:
Сообщение: Re: pg_autovacuum next steps