From: Tom Lane <tgl@sss.pgh.pa.us>
To: David Giffin <david@agent911.com>
Cc: pgsql-interfaces@hub.org
Subject: Re: [INTERFACES] Large Objects
Date: Thu, 19 Nov 1998 10:05:22 -0500
Message-ID: <7090.911487922@sss.pgh.pa.us> (raw)
In-Reply-To: <Pine.BSF.3.96.981118154400.827A-100000@central.agent911.com>
David Giffin <david@agent911.com> writes:
> I'm working on a project with large objects. I'm getting this error:
> Can't call method "Pg::PQlo_creat" on unblessed reference
> Here is the code it is choking on..
> $conn = Pg::PQsetdb('', '', '', '', $$SD{'database'});
> $lobj_Id = $conn->Pg::PQlo_creat($mode);
Offhand, I think you want to write just
$lobj_Id = $conn->PQlo_creat($mode);
At least, my experiments with perl Pg have not needed to qualify the
names of methods invoked on an already-created object...
regards, tom lane
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, david@agent911.com, pgsql-interfaces@hub.org
Subject: Re: [INTERFACES] Large Objects
In-Reply-To: <7090.911487922@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