Re: Further clarification in documentation: No deletion of unreferenced large objects
От | Oliver Marienfeld |
---|---|
Тема | Re: Further clarification in documentation: No deletion of unreferenced large objects |
Дата | |
Msg-id | F8F1431E-B08A-4C56-BDA3-FBD6C1B44C0F@outlook.de обсуждение исходный текст |
Ответ на | Re: Further clarification in documentation: No deletion of unreferenced large objects (Laurenz Albe <laurenz.albe@cybertec.at>) |
Ответы |
Re: Further clarification in documentation: No deletion of unreferenced large objects
|
Список | pgsql-docs |
This page isn't relevant to the discussion at hand as it doesn't have anything to do with large objects. Whether it should would be a different complaint.
Thanks for pointing this out. I picked the wrong page.
When deleting a row that references (contains) a large object, I think that
most users expect the DBMS to take care of the, now unreferenced, BLOB.On what grounds? To me this looks just like any other foreign key situation and removing FK rows does not impact the PK. What would lead one to think large objects behave differently?
Admittedly, that is not the best place. Perhaps the introductory chapter
in https://www.postgresql.org/docs/current/lo-intro.html would be a good
place to mention that there is no referential integrity to large objects.
Kind regards
Oliver Marienfeld
В списке pgsql-docs по дате отправления: