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 -- Sent via pgsql-general mailing list (pgsql-general@xxxxxxxxxxxxxx) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-general