pg.ddx.io  pgsql-interfaces@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Daisuke Maki <daisuke@wafu.ne.jp>
Cc: pgsql-interfaces@postgresql.org
Subject: Re: lo_creat problem?
Date: Mon, 12 Feb 2001 19:37:52 -0500
Message-ID: <24986.982024672@sss.pgh.pa.us> (raw)
In-Reply-To: <3A8649E1.1898CE76@wafu.ne.jp>
References: <3A8649E1.1898CE76@wafu.ne.jp>

Daisuke Maki <daisuke@wafu.ne.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



view thread (2+ messages)

Message-ID: <24986.982024672@sss.pgh.pa.us>
Permalink:  ../24986.982024672@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/24986.982024672@sss.pgh.pa.us

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-interfaces@postgresql.org
  Cc: tgl@sss.pgh.pa.us, daisuke@wafu.ne.jp
  Subject: Re: lo_creat problem?
  In-Reply-To: <24986.982024672@sss.pgh.pa.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox