Re: alter function/procedure depends on extension

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "David G(dot) Johnston" <david(dot)g(dot)johnston(at)gmail(dot)com>
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-12 15:49:29
Message-ID: 810145.1649778569@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

"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 can depend upon multiple extensions, and will be dropped when
> + any one of those extensions is dropped.

This addition might be worth making, though.

(likewise for the other instances, of course)

regards, tom lane

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message David G. Johnston 2022-04-12 15:55:24 Re: alter function/procedure depends on extension
Previous Message David G. Johnston 2022-04-12 15:36:05 Re: alter function/procedure depends on extension