Re: COPY formatting

Поиск
Список
Период
Сортировка
От Karel Zak
Тема Re: COPY formatting
Дата
Msg-id 20040322064623.GA9385@zf.jcu.cz
обсуждение исходный текст
Ответ на Re: COPY formatting  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: COPY formatting  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
On Fri, Mar 19, 2004 at 09:54:37AM -0500, Tom Lane wrote:
> Karel Zak <zakkr@zf.jcu.cz> writes:
> >  The problem with  CSV is that it will correctly  work with new protocol
> >  only. Because old  versions of  clients are newline  sensitive.
> 
> 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 stringbehind '\n'.
   Karel

-- Karel Zak  <zakkr@zf.jcu.cz>http://home.zf.jcu.cz/~zakkr/


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

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: [PATCHES] UnixWare/CVS Tip/initdb.c needs to use threads
Следующее
От: "Matthew T. O'Connor"
Дата:
Сообщение: Re: pg_autovacuum next steps