Re: Void binary patch

Tom Lane <tgl@sss.pgh.pa.us>

From: Tom Lane <tgl@sss.pgh.pa.us>
To: Merlin Moncure <mmoncure@gmail.com>
Cc: Robert Haas <robertmhaas@gmail.com>, Radosław Smogura <rsmogura@softperience.eu>, PG Hackers <pgsql-hackers@postgresql.org>
Date: 2011-02-22T15:15:07Z
Lists: pgsql-hackers
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.

			regards, tom lane