Skip site navigation (1) Skip section navigation (2)

Re: lo_creat problem?

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Daisuke Maki <daisuke(at)wafu(dot)ne(dot)jp>
Cc: pgsql-interfaces(at)postgresql(dot)org
Subject: Re: lo_creat problem?
Date: 2001-02-13 00:37:52
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-interfaces
Daisuke Maki <daisuke(at)wafu(dot)ne(dot)jp> writes:
> Platform: Linux 2.2 kernel (Japanized)
> Postgres: 7.03 (compiled with --with-perl and --enable-multibyte )
> pgsql_perl: 1.90, 1.81

> $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.

Strange.  It works OK for me with the perl5 interface that's distributed
with Postgres 7.0.* ... which calls itself 1.8.0.  Dunno where you got
"1.81" or "1.90" from, but maybe they're broken.

			regards, tom lane

In response to

pgsql-interfaces by date

Next:From: Dave PageDate: 2001-02-13 08:24:09
Subject: RE: [ODBC] RE: 7.1 beta 3 Linux ODBC BEGINBehaviour
Previous:From: Jouni AhtoDate: 2001-02-12 23:19:26
Subject: Re: [PHP-DEV] Re: Re: PostgreSQL and PHP persistent connections

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group