pg_lounlink

(PHP 3 <= 3.0.18, PHP 4 >= 4.0.0)

pg_lounlink -- Delete a large object

Description

bool pg_lounlink (resource connection, int oid)

pg_lounlink() deletes a large object with the oid. It rreturn TRUE on success, otherwise returns FALSE.

To use the large object (lo) interface, it is necessary to enclose it within a transaction block.

See also pg_locreate() and pg_loimport().