Re: DBD::Pg`s $dbh->func( "/path/to/file", `lo_import` ) fails silently - Mailing list pgsql-general

From Greg Sabino Mullane
Subject Re: DBD::Pg`s $dbh->func( "/path/to/file", `lo_import` ) fails silently
Date
Msg-id 220b4c3da9af7d0d7c5f52cb252ebb04@biglumber.com
Whole thread Raw
In response to DBD::Pg's $dbh->func( "/path/to/file", 'lo_import' ) fails silently  (Kynn Jones <kynnjo@gmail.com>)
Responses Re: DBD::Pg`s $dbh->func( "/path/to/file", `lo_import` ) fails silently  (Kynn Jones <kynnjo@gmail.com>)
List pgsql-general
-----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 something
recent if you are using something old. You can also set the trace
level to see what's going on behind the scenes:

$dbh->trace(10)

If you can't get it to work, please send a small, self-contained script that
duplicates the problem.

- --
Greg Sabino Mullane greg@turnstep.com
End Point Corporation
PGP Key: 0x14964AC8 200903181557
http://biglumber.com/x/web?pk=2529DF6AB8F79407E94445B4BC9B906714964AC8
-----BEGIN PGP SIGNATURE-----

iEYEAREDAAYFAknBUioACgkQvJuQZxSWSshmiQCfUQd1PJd+25t2quxvPXrKWFb5
7HIAn00Hw9MnonU6UL6/jT2U6JTHMjr3
=hMhf
-----END PGP SIGNATURE-----



pgsql-general by date:

Previous
From: Peter Eisentraut
Date:
Subject: Re: configure question
Next
From: Tom Lane
Date:
Subject: Re: Query 4-5 times slower after ANALYZE