From: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
---|---|
To: | David Giffin <david(at)agent911(dot)com> |
Cc: | pgsql-interfaces(at)hub(dot)org |
Subject: | Re: [INTERFACES] Large Objects |
Date: | 1998-11-19 15:05:22 |
Message-ID: | 7090.911487922@sss.pgh.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general pgsql-interfaces |
David Giffin <david(at)agent911(dot)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
From | Date | Subject | |
---|---|---|---|
Next Message | Statistical Solutions | 1998-11-19 18:50:42 | subscribe |
Previous Message | Lincoln Spiteri | 1998-11-19 14:57:52 | Re: [GENERAL] connection problem with ecpg (SOLVED) |
From | Date | Subject | |
---|---|---|---|
Next Message | Marcin Pronczuk | 1998-11-19 16:43:41 | :-) |
Previous Message | Byron Nikolaidis | 1998-11-19 13:40:10 | Re: [INTERFACES] Unexpected protocol character from backend |