pg_lo_open Open a large object &reftitle.description; PgSql\Lobfalsepg_lo_open PgSql\Connectionconnection intoid stringmode pg_lo_open opens a large object in the database and returns an PgSql\Lob instance so that it can be manipulated. Do not close the database connection before closing the PgSql\Lob instance. To use the large object interface, it is necessary to enclose it within a transaction block. This function used to be called pg_loopen. &reftitle.parameters; connection &pgsql.parameter.connection-with-unspecified-default; oid The OID of the large object in the database. mode Can be either "r" for read-only, "w" for write only or "rw" for read and write. &reftitle.returnvalues; An PgSql\Lob instance, &return.falseforfailure;. &reftitle.changelog; &Version; &Description; 8.1.0 Returns an PgSql\Lob instance now; previously, a &resource; was returned. &pgsql.changelog.connection-object; &reftitle.examples; <function>pg_lo_open</function> example ]]> &reftitle.seealso; pg_lo_close pg_lo_create