Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask

RE: Re: Difficulty inserting a large object using DBD::Pg (kudra: int->OID possible, but doesn't fix )

by kudra (Vicar)
on Jun 29, 2000 at 19:22 UTC ( [id://20397] : note . print w/replies, xml ) Need Help??

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"