Beefy Boxes and Bandwidth Generously Provided by pair Networks Bob
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

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

by Dalvross (Acolyte)
on Jun 29, 2000 at 14:48 UTC ( [id://20381]=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 Re: Difficulty inserting a large object using DBD::Pg (kudra: do doesn't fix)
in thread Difficulty inserting a large object using DBD::Pg

Why don't you try this. Make sure the database table is the type you wish to use and then just use
$sth->bind_param(1,"$value")
this should place the value of $value into the database field as long as the database field is of a type to handle that input.
  • Comment on RE: Re: Difficulty inserting a large object using DBD::Pg

Replies are listed 'Best First'.
RE(3): Difficulty inserting a large object using DBD::Pg (kudra: binding without explicit types won't fix prob)
by kudra (Vicar) on Jun 29, 2000 at 14:58 UTC
    This does not work because it attempts to resolve the type itself, and defaults to varchar, as it did when I explicitly selected the type. It's another pg_atoi error.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://20381]
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.