pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: David G. Johnston <david.g.johnston@gmail.com>
Cc: Bryn Llewellyn <bryn@yugabyte.com>
Cc: Adrian Klaver <adrian.klaver@aklaver.com>
Cc: Alvaro Herrera <alvherre@alvh.no-ip.org>
Cc: pgsql-general list <pgsql-general@lists.postgresql.org>
Subject: Re: alter function/procedure depends on extension
Date: Tue, 12 Apr 2022 11:49:29 -0400
Message-ID: <810145.1649778569@sss.pgh.pa.us> (raw)
In-Reply-To: <CAKFQuwb8GxsrQ7tBCY_StN3B4t-uVMxgCkE2-K7yvoaM-sFeuw@mail.gmail.com>
References: <7C2D01B4-AD32-48DB-B5FA-6FFBC312ECB2@yugabyte.com>
	<4c6b69e2-52c6-359d-3ed9-04842f631ffe@aklaver.com>
	<CAKFQuwbq6y6aAcqR0_J_yYY3_8SxfaMMjTxMEDP_NpnBqN7nZA@mail.gmail.com>
	<CAKFQuwbmmLpTDkVPmo8KaQUnXGWKMp6Yo1gouA1gsYKcA5LeDQ@mail.gmail.com>
	<BEFD0F38-FBB4-45DB-94B4-84B7C948D1A0@yugabyte.com>
	<CAKFQuwZaqCq89BuHW8-BsuLjWQ=NGSuiXkOCaaxb9FizVw7UVg@mail.gmail.com>
	<3781667.1645147045@sss.pgh.pa.us>
	<CAKFQuwbR3zPW+-o4=ntno6_tiWiiQkeKkZZyb6U6FYkNzkZKyA@mail.gmail.com>
	<3889546.1645156447@sss.pgh.pa.us>
	<CAKFQuwY6bR_fZ1DX47E2Q1j38oFw5jaA5GXxxNFn8Q-okAMjqg@mail.gmail.com>
	<CAKFQuwb8GxsrQ7tBCY_StN3B4t-uVMxgCkE2-K7yvoaM-sFeuw@mail.gmail.com>

"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 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





view thread (18+ messages)  latest in thread

Message-ID: <810145.1649778569@sss.pgh.pa.us>
Permalink:  ../810145.1649778569@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/810145.1649778569@sss.pgh.pa.us

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-general@postgresql.org
  Cc: tgl@sss.pgh.pa.us, david.g.johnston@gmail.com, bryn@yugabyte.com, adrian.klaver@aklaver.com, alvherre@alvh.no-ip.org
  Subject: Re: alter function/procedure depends on extension
  In-Reply-To: <810145.1649778569@sss.pgh.pa.us>
  References: <7C2D01B4-AD32-48DB-B5FA-6FFBC312ECB2@yugabyte.com> <4c6b69e2-52c6-359d-3ed9-04842f631ffe@aklaver.com> <CAKFQuwbq6y6aAcqR0_J_yYY3_8SxfaMMjTxMEDP_NpnBqN7nZA@mail.gmail.com> <CAKFQuwbmmLpTDkVPmo8KaQUnXGWKMp6Yo1gouA1gsYKcA5LeDQ@mail.gmail.com> <BEFD0F38-FBB4-45DB-94B4-84B7C948D1A0@yugabyte.com> <CAKFQuwZaqCq89BuHW8-BsuLjWQ=NGSuiXkOCaaxb9FizVw7UVg@mail.gmail.com> <3781667.1645147045@sss.pgh.pa.us> <CAKFQuwbR3zPW+-o4=ntno6_tiWiiQkeKkZZyb6U6FYkNzkZKyA@mail.gmail.com> <3889546.1645156447@sss.pgh.pa.us> <CAKFQuwY6bR_fZ1DX47E2Q1j38oFw5jaA5GXxxNFn8Q-okAMjqg@mail.gmail.com> <CAKFQuwb8GxsrQ7tBCY_StN3B4t-uVMxgCkE2-K7yvoaM-sFeuw@mail.gmail.com> <810145.1649778569@sss.pgh.pa.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox