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: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Dagfinn Ilmari Mannsåker <ilmari@ilmari.org>
Cc: pgsql-hackers@postgresql.org
Subject: Re: retire MemoryContextResetAndDeleteChildren backwards compatibility macro
Date: Tue, 14 Nov 2023 20:20:08 +0100
Message-ID: <202311141920.edtj56saukiv@alvherre.pgsql> (raw)
In-Reply-To: <20231114175917.GC2062604@nathanxps13>

On 2023-Nov-14, Nathan Bossart wrote:

> On Tue, Nov 14, 2023 at 12:10:41PM -0500, Tom Lane wrote:
> > FWIW, I think it's fine to just nuke MemoryContextResetAndDeleteChildren.
> > We ask extension authors to deal with much more significant API changes
> > than that in every release, and versions where the updated code wouldn't
> > work are long gone.  And, as you say, the existence of that separate from
> > MemoryContextReset creates confusion, which has nonzero cost in itself.
> 
> That is my preference as well.  Alvaro, AFAICT you are the only vote
> against removing it completely.  If you feel ѕtrongly about it,

Oh, I don't.  (But I wouldn't mind putting pg_attribute_deprecated to
good use elsewhere ... not that I have any specific examples handy.)

Your S key seems to be doing some funny business.

-- 
Álvaro Herrera               48°01'N 7°57'E  —  https://www.EnterpriseDB.com/
"Hay dos momentos en la vida de un hombre en los que no debería
especular: cuando puede permitírselo y cuando no puede" (Mark Twain)





view thread (21+ messages)  latest in thread

Message-ID: <202311141920.edtj56saukiv@alvherre.pgsql>
Permalink:  ../202311141920.edtj56saukiv@alvherre.pgsql/
Also on:    postgresql.org/message-id/202311141920.edtj56saukiv@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, tgl@sss.pgh.pa.us, ilmari@ilmari.org
  Subject: Re: retire MemoryContextResetAndDeleteChildren backwards compatibility macro
  In-Reply-To: <202311141920.edtj56saukiv@alvherre.pgsql>
  References: <20231114175917.GC2062604@nathanxps13> <202311141920.edtj56saukiv@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