pg.ddx.io  pgsql-hackers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Alvaro Herrera <alvherre@alvh.no-ip.org>
To: Nathan Bossart <nathandbossart@gmail.com>
Cc: pgsql-hackers@postgresql.org
Subject: Re: retire MemoryContextResetAndDeleteChildren backwards compatibility macro
Date: Tue, 14 Nov 2023 17:20:16 +0100
Message-ID: <202311141620.5utqdkrxibkh@alvherre.pgsql> (raw)
In-Reply-To: <20231113185950.GA1668018@nathanxps13>

On 2023-Nov-13, Nathan Bossart wrote:

> Shall we retire this backwards compatibility macro at this point?  A search
> of https://codesearch.debian.net/ does reveal a few external uses, so we
> could alternatively leave it around and just update Postgres to stop using
> it, but I don't think it would be too burdensome for extension authors to
> fix if we removed it completely.

Let's leave the macro around and just remove its uses in PGDG-owned
code.  Having the macro around hurts nothing, and we can remove it in 15
years or so.

-- 
Álvaro Herrera         PostgreSQL Developer  —  https://www.EnterpriseDB.com/
"Entristecido, Wutra                     (canción de Las Barreras)
echa a Freyr a rodar
y a nosotros al mar"





view thread (21+ messages)  latest in thread

Message-ID: <202311141620.5utqdkrxibkh@alvherre.pgsql>
Permalink:  ../202311141620.5utqdkrxibkh@alvherre.pgsql/
Also on:    postgresql.org/message-id/202311141620.5utqdkrxibkh@alvherre.pgsql

 · 

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-hackers@postgresql.org
  Cc: alvherre@alvh.no-ip.org, nathandbossart@gmail.com
  Subject: Re: retire MemoryContextResetAndDeleteChildren backwards compatibility macro
  In-Reply-To: <202311141620.5utqdkrxibkh@alvherre.pgsql>
  References: <20231113185950.GA1668018@nathanxps13> <202311141620.5utqdkrxibkh@alvherre.pgsql>

* 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