plperl & large objects - Mailing list pgsql-interfaces

From Peter Chekunaev
Subject plperl & large objects
Date
Msg-id 985914927.20041020005113@fbd.ru
Whole thread Raw
List pgsql-interfaces
Hello!    I wrote the function in plperlu. I know it works (I ran in from    file). This code is from my function:
    $oid = $dbh->func($dbh->{pg_INV_WRITE}, "lo_creat");           $lobj_fd = $dbh->func($oid, $dbh->{pg_INV_WRITE},
'lo_open');          $nbytes = $dbh->func($lobj_fd, $objxml, $xmllength, "lo_write");           $lobj_fd =
$dbh->func($lobj_fd,"lo_close");    When function runs postgres returns different reasons. Sometimes    it says "There
isno large object with oid: ..." Sometimes it says    that allocated memory is not enough. Has anyone  the same
problem?   Please help me:)
 

Best regards,
Peter



pgsql-interfaces by date:

Previous
From: Peter Chekunaev
Date:
Subject: DROP TRIGGER in trigger
Next
From: "Jeroen T. Vermeulen"
Date:
Subject: Re: Er... what's up and what's current?