Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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

pgsql-hackers by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group