Re: [GENERAL] DBD::Pg`s $dbh->func( "/path/to/file", `lo_import` ) fails silently

2009-03-19 Thread Kynn Jones
On Wed, Mar 18, 2009 at 3:57 PM, Greg Sabino Mullane wrote: > > -BEGIN PGP SIGNED MESSAGE- > Hash: RIPEMD160 > > > > I'm trying to use Perl's DBD::Pg module to import a file as a large > object. > > For this I'm using the following: > > my $oid = $dbh->func( "/absolute/path/to/file", 'lo_i

Re: [GENERAL] DBD::Pg`s $dbh->func( "/path/to/file", `lo_import` ) fails silently

2009-03-18 Thread Greg Sabino Mullane
-BEGIN PGP SIGNED MESSAGE- Hash: RIPEMD160 > I'm trying to use Perl's DBD::Pg module to import a file as a large object. > For this I'm using the following: > my $oid = $dbh->func( "/absolute/path/to/file", 'lo_import' ); Works fine for me. What version of DBD::Pg are you using? Try som