Subject: | The lo_ driver-private method names should start with pg_ and be installed via install_method |
See
http://search.cpan.org/~timb/DBI/lib/DBI/DBD.pm#Using_install_method()_to_expose_driver-
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.