( resource connection, int oid, string mode )
pg_lo_open() opens a large object in the database
and returns large object resource so that it can be manipulated.
Do not close the database connection before closing the large
To use the large object interface, it is necessary to
enclose it within a transaction block.
This function used to be called pg_loopen().