pg_lo_open — open a large object
pg_lo_openconnloidmode
connThe handle of a connection to the database in which the large object exists.
loidThe OID of the large object.
mode
Specifies the access mode for the large object. Mode can be
either r, w, or
rw.