Re: pg_dump, send/recv

Поиск
Список
Период
Сортировка
От Craig Ringer
Тема Re: pg_dump, send/recv
Дата
Msg-id 505A7E91.2050105@ringerc.id.au
обсуждение исходный текст
Ответ на pg_dump, send/recv  (Ivan Voras <ivoras@freebsd.org>)
Список pgsql-general
On 09/20/2012 01:01 AM, Ivan Voras wrote:
> Hello,
>
> Actually I have sort of two questions rolled into one: when creating
> custom data types, there's the option to implement *_send() and *_recv()
> functions in addition to *_in() and *_out(); does pg_dump use them for
> binary dumps, and, if not, what uses them? Are they only an optional
> optimization for storing binary data in the database?

I don't know what *else* they're used for, but there's a binary wire
protocol (albeit a rarely used one) that I'm pretty sure uses them.

--
Craig Ringer



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

Предыдущее
От: Craig Ringer
Дата:
Сообщение: Getting a leading zero on negative intervals with to_char?
Следующее
От: Craig Ringer
Дата:
Сообщение: Re: Passing row set into PL/pgSQL function.