Skip Menu |

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

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

Owner: greg [...]
Requestors: TIMB [...]

Bug Information
Severity: Normal
Broken in: (no value)
Fixed in: 2.12.0

Subject: The lo_ driver-private method names should start with pg_ and be installed via install_method
Download (untitled) / with headers
text/plain 701b
See private_methods A major bonus is that driver-private methods can then be called as normal DBI method: $dbh-> Apart from allowing driver-private methods to be called as normal DBI methods, another major bonus is that RaiseError/PrintError etc. all works as you'd expect. (Calling func() doesn't trigger RaiseError/PrintError etc., nor does it reset err, errstr etc.) All driver-private methods should have names that start with the driver prefix, 'pg_' for DBD::Pg. The install_method requires that. The lo_* methods could be given pg_lo_* aliases and then those could be installed via install_method.
Download (untitled) / with headers
text/plain 266b
Great suggestion, thanks. This seems like the best time to do it, while we are already messing around with the large object functions for the next version. Changes committed in r12626 and will be a part of the upcoming 2.12.0 release (2.11.8_1 is hitting CPAN now).

This service is sponsored and maintained by Best Practical Solutions and runs on infrastructure.

Please report any issues with to