Lines Matching refs:loDesc
719 LargeObjectDesc *loDesc; in lo_get_fragment_internal() local
726 loDesc = inv_open(loOid, INV_READ, CurrentMemoryContext); in lo_get_fragment_internal()
732 loSize = inv_seek(loDesc, 0, SEEK_END); in lo_get_fragment_internal()
754 inv_seek(loDesc, offset, SEEK_SET); in lo_get_fragment_internal()
755 total_read = inv_read(loDesc, VARDATA(result), result_length); in lo_get_fragment_internal()
759 inv_close(loDesc); in lo_get_fragment_internal()
807 LargeObjectDesc *loDesc; in be_lo_from_bytea() local
812 loDesc = inv_open(loOid, INV_WRITE, CurrentMemoryContext); in be_lo_from_bytea()
813 written = inv_write(loDesc, VARDATA_ANY(str), VARSIZE_ANY_EXHDR(str)); in be_lo_from_bytea()
815 inv_close(loDesc); in be_lo_from_bytea()
829 LargeObjectDesc *loDesc; in be_lo_put() local
833 loDesc = inv_open(loOid, INV_WRITE, CurrentMemoryContext); in be_lo_put()
837 pg_largeobject_aclcheck_snapshot(loDesc->id, in be_lo_put()
840 loDesc->snapshot) != ACLCHECK_OK) in be_lo_put()
844 loDesc->id))); in be_lo_put()
846 inv_seek(loDesc, offset, SEEK_SET); in be_lo_put()
847 written = inv_write(loDesc, VARDATA_ANY(str), VARSIZE_ANY_EXHDR(str)); in be_lo_put()
849 inv_close(loDesc); in be_lo_put()