Re: Void binary patch

Robert Haas <robertmhaas@gmail.com>

From: Robert Haas <robertmhaas@gmail.com>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Merlin Moncure <mmoncure@gmail.com>, Radosław Smogura <rsmogura@softperience.eu>, PG Hackers <pgsql-hackers@postgresql.org>
Date: 2011-02-22T16:31:22Z
Lists: pgsql-hackers
On Tue, Feb 22, 2011 at 10:15 AM, Tom Lane <tgl@sss.pgh.pa.us> wrote:
> Merlin Moncure <mmoncure@gmail.com> writes:
>> On Tue, Feb 22, 2011 at 6:01 AM, Robert Haas <robertmhaas@gmail.com> wrote:
>>> What problem does this fix?
>
>> void returning functions may not be called when binary protocol is
>> requested currently.  this is annoying: some drivers that wrap libpq
>> or the protocol directly use the binary mode exclusively and this
>> causes headaches for them.  put another way, 'void' is the only POD
>> type missing send/recv.
>
> Yeah, this has been discussed before.
>
> Even though this patch is far past the CF deadline, I'm a bit tempted to
> push it into 9.1 anyway, just so we can check off that problem.

+1.

-- 
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company