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().
pg_lo_write
(PHP 4 >= 4.2.0)
pg_lo_write -- Write a large object
Description
int pg_lo_write ( resource large_object, string data)
pg_lo_write() writes at most to a large object from a variable
data and returns the number of bytes actually written, or
FALSE in the case of an error. large_object is a large object
resource from pg_lo_open().
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_lowrite().
See also pg_lo_create() and pg_lo_open().
|