Thread

  1. Void binary patch

    Radosław Smogura <rsmogura@softperience.eu> — 2011-02-20T10:20:22Z

    Just patch for missing procedures for void send/recv
    
    Regards,
    Radek
    
  2. Re: Void binary patch

    David Fetter <david@fetter.org> — 2011-02-21T03:59:12Z

    On Sun, Feb 20, 2011 at 11:20:22AM +0100, Radosław Smogura wrote:
    > Just patch for missing procedures for void send/recv
    > 
    > Regards,
    > Radek
    
    Thanks! :)
    
    Style note: the project doesn't use // as a comment-to-end-of-line in
    C because some supported compilers don't understand it.
    
    Cheers,
    David.
    -- 
    David Fetter <david@fetter.org> http://fetter.org/
    Phone: +1 415 235 3778  AIM: dfetter666  Yahoo!: dfetter
    Skype: davidfetter      XMPP: david.fetter@gmail.com
    iCal: webcal://www.tripit.com/feed/ical/people/david74/tripit.ics
    
    Remember to vote!
    Consider donating to Postgres: http://www.postgresql.org/about/donate
    
    
  3. Re: Void binary patch

    Robert Haas <robertmhaas@gmail.com> — 2011-02-22T12:01:02Z

    On Sun, Feb 20, 2011 at 5:20 AM, Radosław Smogura
    <rsmogura@softperience.eu> wrote:
    > Just patch for missing procedures for void send/recv
    
    What problem does this fix?
    
    -- 
    Robert Haas
    EnterpriseDB: http://www.enterprisedb.com
    The Enterprise PostgreSQL Company
    
    
  4. Re: Void binary patch

    Radosław Smogura <rsmogura@softperience.eu> — 2011-02-22T13:36:11Z

     On Tue, 22 Feb 2011 07:01:02 -0500, Robert Haas wrote:
    > On Sun, Feb 20, 2011 at 5:20 AM, Radosław Smogura
    > <rsmogura@softperience.eu> wrote:
    >> Just patch for missing procedures for void send/recv
    >
    > What problem does this fix?
    
     Can not execute stored procedures in JDBC with out arguments, I think 
     function retuning void as well, and some other "minors". Ofc with binary 
     mode.
    
     Regards,
     Radek
    
    
  5. Re: Void binary patch

    Merlin Moncure <mmoncure@gmail.com> — 2011-02-22T14:12:23Z

    On Tue, Feb 22, 2011 at 6:01 AM, Robert Haas <robertmhaas@gmail.com> wrote:
    > On Sun, Feb 20, 2011 at 5:20 AM, Radosław Smogura
    > <rsmogura@softperience.eu> wrote:
    >> Just patch for missing procedures for void send/recv
    >
    > 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.
    
    merlin
    
    
  6. Re: Void binary patch

    Radosław Smogura <rsmogura@softperience.eu> — 2011-02-22T14:22:56Z

     On Tue, 22 Feb 2011 08:12:23 -0600, Merlin Moncure wrote:
    > On Tue, Feb 22, 2011 at 6:01 AM, Robert Haas <robertmhaas@gmail.com> 
    > wrote:
    >> On Sun, Feb 20, 2011 at 5:20 AM, Radosław Smogura
    >> <rsmogura@softperience.eu> wrote:
    >>> Just patch for missing procedures for void send/recv
    >>
    >> 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.
    >
    > merlin
    
     Just curious what POD means?
    
    
  7. Re: Void binary patch

    Tom Lane <tgl@sss.pgh.pa.us> — 2011-02-22T15:15:07Z

    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
    
    
  8. Re: Void binary patch

    Robert Haas <robertmhaas@gmail.com> — 2011-02-22T16:31:22Z

    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
    
    
  9. Re: Void binary patch

    Merlin Moncure <mmoncure@gmail.com> — 2011-02-22T17:39:25Z

    On Tue, Feb 22, 2011 at 8:22 AM, rsmogura <rsmogura@softperience.eu> wrote:
    > On Tue, 22 Feb 2011 08:12:23 -0600, Merlin Moncure wrote:
    >>
    >> On Tue, Feb 22, 2011 at 6:01 AM, Robert Haas <robertmhaas@gmail.com>
    >> wrote:
    >>>
    >>> On Sun, Feb 20, 2011 at 5:20 AM, Radosław Smogura
    >>> <rsmogura@softperience.eu> wrote:
    >>>>
    >>>> Just patch for missing procedures for void send/recv
    >>>
    >>> 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.
    >>
    >> merlin
    >
    > Just curious what POD means?
    
    POD = 'Plain Old Data' -- one of the core types.  :-).
    
    merlin
    
    
  10. Re: Void binary patch

    Tom Lane <tgl@sss.pgh.pa.us> — 2011-02-22T18:09:24Z

    Robert Haas <robertmhaas@gmail.com> writes:
    > On Tue, Feb 22, 2011 at 10:15 AM, Tom Lane <tgl@sss.pgh.pa.us> wrote:
    >> 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.
    
    Done.
    
    			regards, tom lane