Re: raw output from copy

Поиск
Список
Период
Сортировка
Искать
От
Andrew Dunstan
Тема
Re: raw output from copy
Дата
Msg-id
55955BB0.404@dunslane.net
Ответ на
Список
Дерево обсуждения
raw output from copy Pavel Stehule <pavel.stehule@gmail.com>
Re: raw output from copy Pavel Stehule <pavel.stehule@gmail.com>
Re: raw output from copy Peter Eisentraut <peter_e@gmx.net>
Re: raw output from copy Pavel Stehule <pavel.stehule@gmail.com>
Re: raw output from copy Pavel Golub <pavel@microolap.com>
Re: raw output from copy Simon Riggs <simon@2ndQuadrant.com>
Re: raw output from copy Pavel Stehule <pavel.stehule@gmail.com>
Re: raw output from copy Andrew Dunstan <andrew@dunslane.net>
Re: raw output from copy Andrew Dunstan <andrew@dunslane.net>
Re: raw output from copy Simon Riggs <simon@2ndQuadrant.com>
Re: raw output from copy Andrew Dunstan <andrew@dunslane.net>
Re: raw output from copy Pavel Stehule <pavel.stehule@gmail.com>
Re: raw output from copy Andrew Dunstan <andrew@dunslane.net>
Re: raw output from copy Tom Lane <tgl@sss.pgh.pa.us>
Re: raw output from copy Andrew Dunstan <andrew@dunslane.net>
Re: raw output from copy Pavel Stehule <pavel.stehule@gmail.com>
Re: raw output from copy Pavel Stehule <pavel.stehule@gmail.com>
Re: raw output from copy "Dickson S. Guedes" <listas@guedesoft.net>
Re: raw output from copy Pavel Stehule <pavel.stehule@gmail.com>
Re: raw output from copy Craig Ringer <craig@2ndquadrant.com>
Re: raw output from copy Heikki Linnakangas <hlinnaka@iki.fi>
Re: raw output from copy Pavel Stehule <pavel.stehule@gmail.com>
Re: raw output from copy Heikki Linnakangas <hlinnaka@iki.fi>
Re: raw output from copy Andrew Dunstan <andrew@dunslane.net>
Re: raw output from copy Pavel Stehule <pavel.stehule@gmail.com>
Re: raw output from copy Pavel Stehule <pavel.stehule@gmail.com>
Re: raw output from copy Tom Lane <tgl@sss.pgh.pa.us>
Re: raw output from copy Andrew Dunstan <andrew@dunslane.net>
Re: raw output from copy Pavel Stehule <pavel.stehule@gmail.com>
Re: raw output from copy Andrew Dunstan <andrew@dunslane.net>
Re: raw output from copy "Daniel Verite" <daniel@manitou-mail.org>
Re: raw output from copy Andrew Dunstan <andrew@dunslane.net>
Re: raw output from copy "Daniel Verite" <daniel@manitou-mail.org>
Re: raw output from copy Tom Lane <tgl@sss.pgh.pa.us>
Re: raw output from copy "Daniel Verite" <daniel@manitou-mail.org>
Re: raw output from copy "David G. Johnston" <david.g.johnston@gmail.com>
Re: raw output from copy Tom Lane <tgl@sss.pgh.pa.us>
Re: raw output from copy Pavel Stehule <pavel.stehule@gmail.com>
Re: raw output from copy Pavel Stehule <pavel.stehule@gmail.com>
Re: raw output from copy Pavel Stehule <pavel.stehule@gmail.com>
Re: raw output from copy Tom Lane <tgl@sss.pgh.pa.us>
Re: raw output from copy Pavel Stehule <pavel.stehule@gmail.com>
Re: raw output from copy Tom Lane <tgl@sss.pgh.pa.us>
Re: raw output from copy Pavel Stehule <pavel.stehule@gmail.com>
Re: raw output from copy Pavel Stehule <pavel.stehule@gmail.com>
Re: raw output from copy Pavel Stehule <pavel.stehule@gmail.com>
Re: raw output from copy Robert Haas <robertmhaas@gmail.com>
Re: raw output from copy Andrew Dunstan <andrew@dunslane.net>
Re: raw output from copy Pavel Stehule <pavel.stehule@gmail.com>
Re: raw output from copy Pavel Stehule <pavel.stehule@gmail.com>
Re: raw output from copy Pavel Stehule <pavel.stehule@gmail.com>
Re: raw output from copy Michael Paquier <michael.paquier@gmail.com>
Re: raw output from copy Haribabu Kommi <kommi.haribabu@gmail.com>
Re: raw output from copy Haribabu Kommi <kommi.haribabu@gmail.com>
Re: raw output from copy Kohei KaiGai <kaigai@kaigai.gr.jp>
Re: raw output from copy Pavel Stehule <pavel.stehule@gmail.com>
Re: raw output from copy Kohei KaiGai <kaigai@kaigai.gr.jp>
Re: raw output from copy Pavel Stehule <pavel.stehule@gmail.com>
Re: raw output from copy Kohei KaiGai <kaigai@kaigai.gr.jp>
Re: raw output from copy Craig Ringer <craig@2ndquadrant.com>
Re: raw output from copy Pavel Stehule <pavel.stehule@gmail.com>
Re: raw output from copy Craig Ringer <craig@2ndquadrant.com>
Re: raw output from copy Pavel Stehule <pavel.stehule@gmail.com>
Re: raw output from copy Ildar Musin <i.musin@postgrespro.ru>
Re: raw output from copy Corey Huinker <corey.huinker@gmail.com>
Re: raw output from copy Pavel Stehule <pavel.stehule@gmail.com>
Re: raw output from copy Corey Huinker <corey.huinker@gmail.com>
Re: raw output from copy Pavel Stehule <pavel.stehule@gmail.com>
Re: raw output from copy David Steele <david@pgmasters.net>
Re: raw output from copy Pavel Stehule <pavel.stehule@gmail.com>
Re: raw output from copy "Daniel Verite" <daniel@manitou-mail.org>
Re: raw output from copy Pavel Stehule <pavel.stehule@gmail.com>
Re: raw output from copy Pavel Stehule <pavel.stehule@gmail.com>
Re: raw output from copy Pavel Stehule <pavel.stehule@gmail.com>
Re: raw output from copy Simon Riggs <simon@2ndQuadrant.com>
Re: raw output from copy Pavel Stehule <pavel.stehule@gmail.com>

On 07/02/2015 11:02 AM, Tom Lane wrote:
> Andrew Dunstan  writes:
>> Does the COPY line protocol even support binary data?
> The protocol, per se, just transmits a byte stream.  There is a field
> in the CopyInResponse/CopyOutResponse messages that indicates whether
> a text or binary copy is being done.  One thing we'd have to consider
> is whether "raw" mode is sufficiently different from binary to justify
> an additional value for this field, and if so whether that constitutes
> a protocol break.
>
> IIRC, psql wouldn't really care; it just transfers the byte stream to or
> from the target file, regardless of text or binary mode.  But there might
> be other client libraries that are smarter and expect "binary" mode to
> mean the binary file format specified in the COPY reference page.  So
> there may be value in being explicit about "raw" mode in these messages.
>
> A key point in all this is that people who need "raw" transfer probably
> need it in both directions, a point that your SELECT proposal cannot
> satisfy, but hacking COPY could.  So I lean towards the latter really.
>
> 			


OK, let's do that. I await the result with interest.

cheers

andrew


В списке pgsql-hackers по дате отправления
От: Peter Eisentraut
Дата:
От: Robert Haas
Дата:
FAQ