Re: Bug on drop extension dependencies ?

Поиск
Список
Период
Сортировка
От David G. Johnston
Тема Re: Bug on drop extension dependencies ?
Дата
Msg-id CAKFQuwaE62njLgNgQpo+vn_LVPSPW+ihn--RQHkFu=Yg+TSpfw@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Bug on drop extension dependencies ?  (Marcos Pegoraro <marcos@f10.com.br>)
Список pgsql-hackers
On Sunday, July 13, 2025, Marcos Pegoraro <marcos@f10.com.br> wrote:
Em sáb., 12 de jul. de 2025 às 16:07, Tom Lane <tgl@sss.pgh.pa.us> escreveu:
Indeed.  If we put a restriction on this case then we'd just need to
invent a "REALLY CASCADE" option that did the more aggressive thing.

I understand that it's not possible to prevent DROP ... CASCADE from executing. However, the subsequent deletion of constraints, triggers, or functions will affect the behavior of other schemas, so I think it's reasonable to at least explicitly state in the log which objects were deleted due to that command.

Then install an event trigger and log every object that gets dropped at any time.

David J.
 

В списке pgsql-hackers по дате отправления: