Re: Bug on drop extension dependencies ? - Mailing list pgsql-hackers

From Marcos Pegoraro
Subject Re: Bug on drop extension dependencies ?
Date
Msg-id CAB-JLwZztK7EjqxZy-ot-zOFUm8SNmzJyALs-p7rZG3xfen7Nw@mail.gmail.com
Whole thread Raw
In response to Re: Bug on drop extension dependencies ?  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: Bug on drop extension dependencies ?
Re: Bug on drop extension dependencies ?
List pgsql-hackers
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.

regards
Marcos

pgsql-hackers by date:

Previous
From: Rintaro Ikeda
Date:
Subject: Re: Suggestion to add --continue-client-on-abort option to pgbench
Next
From: Florents Tselai
Date:
Subject: Re: add function for creating/attaching hash table in DSM registry