postgresql_16:9.6.22.3 Limitations
PostgreSQL 16 > Appendixes > Additional Supplied Modules and Extensions > lo — manage large objects > Limitations
- Dropping a table will still orphan any objects it contains, as the trigger is not executed. You can avoid this by preceding the
DROP TABLEwithDELETE FROM *table*.
TRUNCATE has the same hazard.
If you already have, or suspect you have, orphaned large objects, see the (see postgresql_16:9.7.1.2) module to help you clean them up. It's a good idea to run vacuumlo occasionally as a back-stop to the lo_manage trigger.
- Some frontends may create their own tables, and will not create the associated trigger(s). Also, users may not remember (or know) to create the triggers.