Re: pg_dump, send/recv - Mailing list pgsql-general

From Craig Ringer
Subject Re: pg_dump, send/recv
Date
Msg-id 505A7E91.2050105@ringerc.id.au
Whole thread Raw
In response to pg_dump, send/recv  (Ivan Voras <ivoras@freebsd.org>)
List 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 by date:

Previous
From: Craig Ringer
Date:
Subject: Getting a leading zero on negative intervals with to_char?
Next
From: Craig Ringer
Date:
Subject: Re: Passing row set into PL/pgSQL function.