Wire protocol: type-specific opt-in to binary format

From: Florian Weimer <fweimer(at)bfk(dot)de>
To: pgsql-hackers(at)postgresql(dot)org
Subject: Wire protocol: type-specific opt-in to binary format
Date: 2011-11-24 09:03:25
Message-ID: 8239dduc2q.fsf@mid.bfk.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

I would like to add functionality which allows a client to tell the
server which types can be sent in binary format. The immediate goal is
to suppress hex quoting for BYTEA values, but it seems to make sense to
make this functionality more general.

This doesn't have to be a flag on the wire protocol, it could be a
regular run-time parameter.

Do you think this would make sense?

--
Florian Weimer <fweimer(at)bfk(dot)de>
BFK edv-consulting GmbH http://www.bfk.de/
Kriegsstraße 100 tel: +49-721-96201-1
D-76133 Karlsruhe fax: +49-721-96201-99

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Florian Weimer 2011-11-24 09:06:43 Making TEXT NUL-transparent
Previous Message Alexander Shulgin 2011-11-24 08:58:57 Re: Notes on implementing URI syntax for libpq