[rt.cpan.org #21183] No support for Pgsql 8.1 function IN/OUT Parameters
" via RT" <[email protected]>
| Newsgroups | gmane.comp.db.postgresql.dbdpg |
|---|---|
| Message-ID | <[email protected]> |
Fri Aug 25 17:42:04 2006: Request 21183 was acted upon.
Transaction: Ticket created by RYBSKEJ
Queue: DBD-Pg
Subject: No support for Pgsql 8.1 function IN/OUT Parameters
Broken in: (no value)
Severity: Wishlist
Owner: Nobody
Requestors: [email protected]
Status: new
Ticket <URL: http://rt.cpan.org/Ticket/Display.html?id=21183 >
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."