Apparently, it's not at all kosher to have your lo_close
in a seperate transaction from your other lo_functions,
and that arrangement (which was accidental) broke
things. In case anyone's interested, the simple
fix is to scoot the $dbh->func($blobfd, 'lo_close');
and the line before it up above that $dbh->commit;