Lines Matching refs:loDesc
727 LargeObjectDesc *loDesc; in lo_get_fragment_internal() local
734 loDesc = inv_open(loOid, INV_READ, CurrentMemoryContext); in lo_get_fragment_internal()
740 loSize = inv_seek(loDesc, 0, SEEK_END); in lo_get_fragment_internal()
762 inv_seek(loDesc, offset, SEEK_SET); in lo_get_fragment_internal()
763 total_read = inv_read(loDesc, VARDATA(result), result_length); in lo_get_fragment_internal()
767 inv_close(loDesc); in lo_get_fragment_internal()
815 LargeObjectDesc *loDesc; in be_lo_from_bytea() local
820 loDesc = inv_open(loOid, INV_WRITE, CurrentMemoryContext); in be_lo_from_bytea()
821 written = inv_write(loDesc, VARDATA_ANY(str), VARSIZE_ANY_EXHDR(str)); in be_lo_from_bytea()
823 inv_close(loDesc); in be_lo_from_bytea()
837 LargeObjectDesc *loDesc; in be_lo_put() local
841 loDesc = inv_open(loOid, INV_WRITE, CurrentMemoryContext); in be_lo_put()
845 pg_largeobject_aclcheck_snapshot(loDesc->id, in be_lo_put()
848 loDesc->snapshot) != ACLCHECK_OK) in be_lo_put()
852 loDesc->id))); in be_lo_put()
854 inv_seek(loDesc, offset, SEEK_SET); in be_lo_put()
855 written = inv_write(loDesc, VARDATA_ANY(str), VARSIZE_ANY_EXHDR(str)); in be_lo_put()
857 inv_close(loDesc); in be_lo_put()