pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Andres Freund <andres@anarazel.de>
Cc: Daniel Gustafsson <daniel@yesql.se>
Cc: wliang@stu.xidian.edu.cn, pgsql-bugs <pgsql-bugs@lists.postgresql.org>
Subject: Re: Report a potential memory leak in setup_config()
Date: Tue, 15 Feb 2022 21:25:58 -0500
Message-ID: <3243399.1644978358@sss.pgh.pa.us> (raw)
In-Reply-To: <20220216022118.vvijtgd5rl2b6ucv@alap3.anarazel.de>
References: <64ee7543.20d.17efb1270ca.Coremail.wliang@stu.xidian.edu.cn>
	<A7070803-5A15-486E-AE04-ECC13CD10038@yesql.se>
	<3052163.1644942806@sss.pgh.pa.us>
	<20220216012953.6d7bzmsblqou3ru4@alap3.anarazel.de>
	<3239746.1644975946@sss.pgh.pa.us>
	<20220216022118.vvijtgd5rl2b6ucv@alap3.anarazel.de>

Andres Freund <andres@anarazel.de> writes:
> I was pondering initdb's design a bunch lately. So I started a -hackers thread:
> https://postgr.es/m/20220216021219.ygzrtb3hd5bn7olz%40alap3.anarazel.de

Yeah, I read that.  I think making the backend read these files directly
makes a ton of sense, so I'm no longer very excited about improving the
performance or memory consumption of the replace_token stuff.  I think
we should put this thread on hold until someone does that, and then
maybe take another look to see if initdb still leaks anything worth
worrying about.

			regards, tom lane





view thread (15+ messages)  latest in thread

Message-ID: <3243399.1644978358@sss.pgh.pa.us>
Permalink:  ../3243399.1644978358@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/3243399.1644978358@sss.pgh.pa.us

 · 

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 using the --to and --cc options:
  reply via email

  To: pgsql-bugs@postgresql.org
  Cc: tgl@sss.pgh.pa.us, andres@anarazel.de, daniel@yesql.se, pgsql-bugs@lists.postgresql.org
  Subject: Re: Report a potential memory leak in setup_config()
  In-Reply-To: <3243399.1644978358@sss.pgh.pa.us>

* 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