Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Difficulty inserting a large object using DBD::Pg

by kudra (Vicar)
on Jun 29, 2000 at 15:46 UTC ( #20355=perlquestion: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
      
    my $sth = 
    $dbh->prepare("insert into foo(data) values (?);");
    $sth->bind_param(1, $value, SQL_LONGVARBINARY);
    $sth->execute();
    
  2. or download this
     
    SQL type 1075548612 for 'rc' is not fully supported, bound as VARCHAR 
    +instead at  ./1.0 line 122.
    
  3. or download this
    $dbh->prepare("insert into foo(data) values 
    (lo_import('/tmp/lame'));")
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://20355]
Approved by root
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (8)
As of 2014-12-28 20:30 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (182 votes), past polls