Re: [[deprecated("don't call this, call that")]] - Mailing list pgsql-hackers

From Michael Paquier
Subject Re: [[deprecated("don't call this, call that")]]
Date
Msg-id adcgLAKdTwBeYbjM@paquier.xyz
Whole thread Raw
In response to [[deprecated("don't call this, call that")]]  (Thomas Munro <thomas.munro@gmail.com>)
Responses Re: [[deprecated("don't call this, call that")]]
List pgsql-hackers
On Thu, Apr 09, 2026 at 03:34:30PM +1200, Thomas Munro wrote:
> The idea would be to back-patch the deprecation warnings, and delete
> the functions in, I guess now, v20.  Then the deprecation notice
> facility would always be there for next time we need it.

That would be a nice addition, especially with the recent mblen()
business (could have used that a few times myself).  So +1 for the
addition of the macro in the back branches.

Do we need to be that conservative with the removal in v19?  We could
just pull the deletion switch without waiting for v20, IMO..  With the
deprecated macro in place, at least folks would be aware of the
problem.
--
Michael

Attachment

pgsql-hackers by date:

Previous
From: shveta malik
Date:
Subject: Re: synchronized_standby_slots behavior inconsistent with quorum-based synchronous replication
Next
From: shveta malik
Date:
Subject: Re: Logical Replication - revisit `is_table_publication` function implementation