| From: | "Greg Sabino Mullane" <greg(at)turnstep(dot)com> |
|---|---|
| To: | pgsql-general(at)postgresql(dot)org |
| Subject: | Re: DBD::Pg`s $dbh->func( "/path/to/file", `lo_import` ) fails silently |
| Date: | 2009-03-18 19:57:57 |
| Message-ID: | 220b4c3da9af7d0d7c5f52cb252ebb04@biglumber.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | 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(at)turnstep(dot)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-----
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Tom Lane | 2009-03-18 19:59:42 | Re: Query 4-5 times slower after ANALYZE |
| Previous Message | Peter Eisentraut | 2009-03-18 19:16:55 | Re: configure question |