From: Tom Lane <tgl@sss.pgh.pa.us>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: ecpg: put all string-valued tokens returned by pgc.l in local st
Date: Wed, 27 Nov 2024 17:50:41 +0000
Message-ID: <E1tGMBV-003mYa-3s@gemulon.postgresql.org> (raw)
ecpg: put all string-valued tokens returned by pgc.l in local storage.
This didn't work earlier in the patch series (I think some of
the strings were ending up in data-type-related structures),
but apparently we're now clean enough for it. This considerably
reduces process-lifespan memory leakage.
Discussion: https://postgr.es/m/2011420.1713493114@sss.pgh.pa.us
Branch
------
master
Details
-------
https://git.postgresql.org/pg/commitdiff/85312d95e959bae16c5d0bbf79ae74bcd7fec1a9
Modified Files
--------------
src/interfaces/ecpg/preproc/parser.c | 4 +++-
src/interfaces/ecpg/preproc/pgc.l | 42 ++++++++++++++++++------------------
2 files changed, 24 insertions(+), 22 deletions(-)
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-committers@postgresql.org
Cc: tgl@sss.pgh.pa.us, pgsql-committers@lists.postgresql.org
Subject: Re: pgsql: ecpg: put all string-valued tokens returned by pgc.l in local st
In-Reply-To: <E1tGMBV-003mYa-3s@gemulon.postgresql.org>
* 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