Re: alter function/procedure depends on extension

From: "David G(dot) Johnston" <david(dot)g(dot)johnston(at)gmail(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Bryn Llewellyn <bryn(at)yugabyte(dot)com>, Adrian Klaver <adrian(dot)klaver(at)aklaver(dot)com>, Alvaro Herrera <alvherre(at)alvh(dot)no-ip(dot)org>, pgsql-general list <pgsql-general(at)lists(dot)postgresql(dot)org>
Subject: Re: alter function/procedure depends on extension
Date: 2022-04-21 01:07:09
Message-ID: CAKFQuwbjTy8oVn=zCOuETXnnrW3V+tkoSq4o6aLM-fU23kUNpw@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Tue, Apr 12, 2022 at 8:55 AM David G. Johnston <
david(dot)g(dot)johnston(at)gmail(dot)com> wrote:

> On Tue, Apr 12, 2022 at 8:49 AM Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> wrote:
>
>> "David G. Johnston" <david(dot)g(dot)johnston(at)gmail(dot)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.

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Mladen Gogala 2022-04-21 02:45:34 Re: Are stored procedures/triggers common in your industry
Previous Message Peter Geoghegan 2022-04-20 23:18:38 Re: autovacuum_freeze_max_age on append-only tables