Beefy Boxes and Bandwidth Generously Provided by pair Networks vroom
Come for the quick hacks, stay for the epiphanies.
 
PerlMonks  

Re: Difficulty inserting a large object using DBD::Pg

by httptech (Chaplain)
on Jun 29, 2000 at 14:36 UTC ( [id://20379]=note: print w/replies, xml ) Need Help??

This is an archived low-energy page for bots and other anonmyous visitors. Please sign up if you are a human and want to interact.


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

I don't know PostgreSQL quite as well as MySQL, but shouldn't an OID be an integer?
  • Comment on Re: Difficulty inserting a large object using DBD::Pg

Replies are listed 'Best First'.
RE: Re: Difficulty inserting a large object using DBD::Pg (kudra: OID != int)
by kudra (Vicar) on Jun 29, 2000 at 14:54 UTC
    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.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://20379]
help
Sections?
Information?
Find Nodes?
Leftovers?
    Notices?
    hippoepoptai's answer Re: how do I set a cookie and redirect was blessed by hippo!
    erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.