Received: from sss.pgh.pa.us (sss.pgh.pa.us [209.114.132.154]) by mail.postgresql.org (8.11.1/8.11.1) with ESMTP id f1D0c4x90493 for ; Mon, 12 Feb 2001 19:38:04 -0500 (EST) (envelope-from tgl@sss.pgh.pa.us) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.11.1/8.11.1) with ESMTP id f1D0bq924989; Mon, 12 Feb 2001 19:37:52 -0500 (EST) To: Daisuke Maki cc: pgsql-interfaces@postgresql.org Subject: Re: lo_creat problem? In-reply-to: <3A8649E1.1898CE76@wafu.ne.jp> References: <3A8649E1.1898CE76@wafu.ne.jp> Comments: In-reply-to Daisuke Maki message dated "Sun, 11 Feb 2001 00:14:25 -0800" Date: Mon, 12 Feb 2001 19:37:52 -0500 Message-ID: <24986.982024672@sss.pgh.pa.us> From: Tom Lane X-Archive-Number: 200102/105 X-Sequence-Number: 1062 Daisuke Maki 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