Re: ALTER EXTENSION SET SCHEMA versus dependent types

Tom Lane <tgl@sss.pgh.pa.us>

From: Tom Lane <tgl@sss.pgh.pa.us>
To: Nathan Bossart <nathandbossart@gmail.com>
Cc: pgsql-hackers@lists.postgresql.org
Date: 2024-05-08T23:57:55Z
Lists: pgsql-hackers
Nathan Bossart <nathandbossart@gmail.com> writes:
> On Wed, May 08, 2024 at 07:42:18PM -0400, Tom Lane wrote:
>> One positive reason for increasing the number of parameters is that
>> that will be a clear API break for any outside callers, if there
>> are any.  If I just replace a bool with an enum, such callers might
>> or might not get any indication that they need to take a fresh
>> look.

> Agreed.  Another option could be to just annotate the arguments with the
> parameter names.

At the call sites you mean?  Sure, I can do that.

			regards, tom lane



Commits

  1. Repair ALTER EXTENSION ... SET SCHEMA.