Re: alter function/procedure depends on extension

Поиск
Список
Период
Сортировка
От David G. Johnston
Тема Re: alter function/procedure depends on extension
Дата
Msg-id CAKFQuwbjTy8oVn=zCOuETXnnrW3V+tkoSq4o6aLM-fU23kUNpw@mail.gmail.com
обсуждение исходный текст
Ответ на Re: alter function/procedure depends on extension  ("David G. Johnston" <david.g.johnston@gmail.com>)
Список pgsql-general
On Tue, Apr 12, 2022 at 8:55 AM David G. Johnston <david.g.johnston@gmail.com> wrote:
On Tue, Apr 12, 2022 at 8:49 AM Tom Lane <tgl@sss.pgh.pa.us> wrote:
"David G. Johnston" <david.g.johnston@gmail.com> writes:
> -      A function that's marked as dependent on an extension is automatically
> -      dropped when the extension is dropped.
> +      A function that's marked as dependent on an extension is skipped during
> +      dependency checking in restrict mode <xref linkend="sql-dropextension"/>.

That is absolutely not an improvement.  The proposed replacement text
is about as clear as mud.

+ A function that's marked as dependent on an extension is dropped when the extension is dropped, even if cascade is not specified.

I suppose that is a wordier way to say "automatically" but referencing the actual command keyword seems beneficial.


I put this change into v0002 and posted it to -hackers as part of a multi-patch thread.

David J.

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

Предыдущее
От: Peter Geoghegan
Дата:
Сообщение: Re: autovacuum_freeze_max_age on append-only tables
Следующее
От: Mladen Gogala
Дата:
Сообщение: Re: Are stored procedures/triggers common in your industry