Re: lo_import problems

From: Karel Zak <zakkr(at)zf(dot)jcu(dot)cz>
To: Igor Gavriloff <igor(at)nupes(dot)cefetpr(dot)br>
Cc: pgsql-interfaces(at)postgresql(dot)org
Subject: Re: lo_import problems
Date: 2000-04-19 08:49:42
Message-ID: Pine.LNX.3.96.1000419104717.32712B-100000@ara.zf.jcu.cz
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-interfaces


On Tue, 18 Apr 2000, Igor Gavriloff wrote:

> Hi,
>
> I'm trying to write an script in Perl5 that do an lo_import, but
> using the one that the perl interface offers returns an oid equal to
> zero:
>
> ...
> $conn = Pg::connectdb("dbname=test");

BEGIN;

> $lobjId = $conn->lo_import($file);

COMMIT;

Karel

In response to

Browse pgsql-interfaces by date

  From Date Subject
Next Message Guillaume Rousse 2000-04-19 09:47:21 Is this usage correct ?
Previous Message Ivo Simicevic 2000-04-19 07:54:18 Inserting NULL with pgaccess