Help for this page

Select Code to Download


  1. or download this
    my $value = "111";
    $dbh->do("insert into foo(id, test) values (8, ?)", undef, $value);
    
  2. or download this
    foobar=> select lo_export('test', '/tmp/x') from foo where id=8;
    ERROR:  pg_atoi: error in "test": can't parse "test"