postgresql_16:5.2.3.11 Removing a Large Object
PostgreSQL 16 > Client Interfaces > Large Objects > Client Interfaces > Removing a Large Object
To remove a large object from the database, call int lo_unlink(PGconn *conn, Oid lobjId); The lobjId argument specifies the OID of the large object to remove. Returns 1 if successful, -1 on failure.