Skip Menu |

This queue is for tickets about the DBD-Pg CPAN distribution.

Report information
The Basics
Id: 21183
Status: resolved
Priority: 0/
Queue: DBD-Pg

People
Owner: Nobody in particular
Requestors: RYBSKEJ [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Wishlist
Broken in: (no value)
Fixed in: 2.0.0



Subject: No support for Pgsql 8.1 function IN/OUT Parameters
As of postgresql 8.1, INOUT and OUT param support has been added for functions. There are functional ways to work around this limitation, but they require rewriting the prototype and behavior of a pl/* function. The driver built against the pgsql API 8.1 should support the DBD interface method bind_inout(...). Also, the driver should check that the database server it is connected to is an 8.1 or later server; otherwise, it should throw an exception along the likes of "Database version does not support this feature."
By "limitation", I intended to say that the current driver (1.49 as of this writing) does not support INOUT or OUT parameters.
Experimental support for bind_param_inout was added in r10495.