| From: | Daisuke Maki <daisuke(at)wafu(dot)ne(dot)jp> |
|---|---|
| To: | pgsql-interfaces(at)postgresql(dot)org |
| Subject: | lo_creat problem? |
| Date: | 2001-02-11 08:14:25 |
| Message-ID: | 3A8649E1.1898CE76@wafu.ne.jp |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-interfaces |
Hi,
I don't know if this is a perl issue or not but here's the scenario:
Platform: Linux 2.2 kernel (Japanized)
Postgres: 7.03 (compiled with --with-perl and --enable-multibyte )
pgsql_perl: 1.90, 1.81
The problem is very simple.
All i'm trying to do is to create a Large Object. However,
$conn->lo_creat( PGRES_INV_WRITE | PGRES_INV_READ );
$conn->lo_import ( 'some_filename' );
both return an OID of ZERO, no matter what I do.
It doesn't even return PGRES_InvalidOID on failure.
In fact, the lo_demo.pl, which came with pgsql_perl 1.9, didn't work
either. So I don't think it would be a problem on my script.
Is this a known issue? Is there a way around it?
Any help would be appreciated.
Thanks in advance,
--d
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Peter Eisentraut | 2001-02-11 11:11:56 | Re: pgAccess fails to launch on HPUX |
| Previous Message | Tatsuo Ishii | 2001-02-11 04:27:38 | Re: pgAccess fails to launch on HPUX |