The resource encapsulates information about the connection. oid specifies a valid large object oid and mode can be either "r", "w", or "rw".
pg_lo_open() opens a Large Object and returns large object resource. The resource encapsulates information about the connection. oid specifies a valid large object oid and mode can be either "r", "w", or "rw". It returns FALSE if there is an error.