From: Michael Paquier <michael@paquier.xyz>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Introduce variables for initial and max nesting depth on configu
Date: Thu, 24 Nov 2022 22:41:09 +0000
Message-ID: <E1oyKu4-000gRL-QW@gemulon.postgresql.org> (raw)
Introduce variables for initial and max nesting depth on configuration files
The code has been assuming already in a few places that the initial
recursion nesting depth is 0, and the recent changes in hba.c (mainly
783e8c6) have relies on this assumption in more places. The maximum
recursion nesting level is assumed to be 10 for hba.c and GUCs.
Author: Julien Rouhaud
Discussion: https://postgr.es/m/20221124090724.n7amf5kpdhx6vb76@jrouhaud
Branch
------
master
Details
-------
https://git.postgresql.org/pg/commitdiff/d13b684117bdf136f97db5bcba2be524ed038b6d
Modified Files
--------------
src/backend/commands/extension.c | 4 +++-
src/backend/libpq/hba.c | 10 +++++-----
src/backend/utils/misc/guc-file.l | 5 +++--
src/backend/utils/misc/guc.c | 8 +++++---
src/include/utils/conffiles.h | 4 ++++
5 files changed, 20 insertions(+), 11 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 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-committers@postgresql.org
Cc: michael@paquier.xyz
Subject: Re: pgsql: Introduce variables for initial and max nesting depth on configu
In-Reply-To: <E1oyKu4-000gRL-QW@gemulon.postgresql.org>
References: <E1oyKu4-000gRL-QW@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