pg_lo_unlink

(PHP 4 >= 4.2.0)

pg_lo_unlink -- Delete a large object

Description

bool pg_lo_unlink ( resource connection, int oid)

pg_lo_unlink() deletes a large object with the oid. Returns TRUE on success or FALSE on failure.

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

Note: This function used to be called pg_lo_unlink().

See also pg_lo_create() and pg_lo_import().