pg_lo_unlink
pg_lo_unlink
Delete a large object
bool **pg_lo_unlink** PgSql\Connection $connection int $oid
deletes a large object with the
. return.success
pg_lo_unlink``oid
To use the large object interface, it is necessary to enclose it within a transaction block.
Opmerking: > This function used to be called .
pg_lounlink
connection``oid
The of the large object in the database.
OID
return.success
Voorbeeld: example
<?php
// OID of the large object to delete
$doc_oid = 189762345;
$database = pg_connect("dbname=jacarta");
pg_query($database, "begin");
pg_lo_unlink($database, $doc_oid);
pg_query($database, "commit");
?>
pg_lo_create``pg_lo_import