Re: Void binary patch

From: Robert Haas <robertmhaas(at)gmail(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Merlin Moncure <mmoncure(at)gmail(dot)com>, Radosław Smogura <rsmogura(at)softperience(dot)eu>, PG Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Void binary patch
Date: 2011-02-22 16:31:22
Message-ID: AANLkTi=WboSK12ZDCR3vC2wSeOfdaAQ9dOcPjOrtMVnK@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Tue, Feb 22, 2011 at 10:15 AM, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> wrote:
> Merlin Moncure <mmoncure(at)gmail(dot)com> writes:
>> On Tue, Feb 22, 2011 at 6:01 AM, Robert Haas <robertmhaas(at)gmail(dot)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

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Robert Haas 2011-02-22 16:33:25 Re: PostgreSQL FDW update
Previous Message Tom Lane 2011-02-22 15:41:24 Re: Sync Rep v17