Re: pg_dump, send/recv

From: Craig Ringer <ringerc(at)ringerc(dot)id(dot)au>
To: Ivan Voras <ivoras(at)freebsd(dot)org>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: pg_dump, send/recv
Date: 2012-09-20 02:25:21
Message-ID: 505A7E91.2050105@ringerc.id.au
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Craig Ringer 2012-09-20 04:46:01 Re: Passing row set into PL/pgSQL function.
Previous Message Craig Ringer 2012-09-20 01:42:33 Getting a leading zero on negative intervals with to_char?