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

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 (view raw or flat)
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

pgsql-interfaces by date

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

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