pgsql: Introduce variables for initial and max nesting depth on configu

From: Michael Paquier <michael(at)paquier(dot)xyz>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Introduce variables for initial and max nesting depth on configu
Date: 2022-11-24 22:41:09
Message-ID: E1oyKu4-000gRL-QW@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Amit Kapila 2022-11-25 04:17:56 pgsql: Fix uninitialized access to InitialRunningXacts during decoding.
Previous Message David Rowley 2022-11-24 22:05:52 pgsql: Fix some 32-bit shift warnings in MSVC