Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
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 avoiding work at the Monastery: (6)
As of 2014-09-20 20:24 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (161 votes), past polls