Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

RE: Re: Difficulty inserting a large object using DBD::Pg (kudra: OID != int)

by kudra (Vicar)
on Jun 29, 2000 at 18:54 UTC ( [id://20383] : note . print w/replies, xml ) Need Help??


in reply to Re: Difficulty inserting a large object using DBD::Pg
in thread Difficulty inserting a large object using DBD::Pg

OID isn't exactly an integer (if I recall correctly), it's more of a pointer to the data which is automatically generated (for each tuple, as well as for an OID field).

But I gave it a try, using my original code but specifying SQL_INTEGER instead, and got the following error:

ERROR: Attribute blah not found
'blah' is the value of $value, btw.