Re: ALTER EXTENSION SET SCHEMA versus dependent types - Mailing list pgsql-hackers

From Tom Lane
Subject Re: ALTER EXTENSION SET SCHEMA versus dependent types
Date
Msg-id 950290.1715212675@sss.pgh.pa.us
Whole thread Raw
In response to Re: ALTER EXTENSION SET SCHEMA versus dependent types  (Nathan Bossart <nathandbossart@gmail.com>)
Responses Re: ALTER EXTENSION SET SCHEMA versus dependent types
List 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



pgsql-hackers by date:

Previous
From: Michael Paquier
Date:
Subject: Re: bug: copy progress reporting of backends which run multiple COPYs
Next
From: Nathan Bossart
Date:
Subject: Re: ALTER EXTENSION SET SCHEMA versus dependent types