pg_loopen

(PHP 3, PHP 4 )

pg_loopen -- Open a large object

Description

int pg_loopen (int conn, int objoid, string mode)

Pg_loopen() open an Inversion Large Object and returns file descriptor of the large object. The file descriptor encapsulates information about the connection. Do not close the connection before closing the large object file descriptor. objoid specifies a valid large object oid and mode can be either "r", "w", or "rw".