From: | Michael Paquier <michael(at)paquier(dot)xyz> |
---|---|
To: | pgsql-committers(at)lists(dot)postgresql(dot)org |
Subject: | pgsql: Move code related to configuration files in directories to new f |
Date: | 2022-11-07 03:34:58 |
Message-ID: | E1orsuY-000mX0-SY@gemulon.postgresql.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-committers |
Move code related to configuration files in directories to new file
The code in charge of listing and classifying a set of configuration
files in a directory was located in guc-file.l, being used currently for
GUCs under "include_dir". This code is planned to be used for an
upcoming feature able to include configuration files for ident and HBA
files from a directory, similarly to GUCs. In both cases, the file
names, suffixed by ".conf", have to be ordered alphabetically. This
logic is moved to a new file, called conffiles.c, so as it is easier to
share this facility between GUCs and the HBA/ident parsing logic.
Author: Julien Rouhaud, Michael Paquier
Discussion: https://postgr.es/m/Y2IgaH5YzIq2b+iR@paquier.xyz
Branch
------
master
Details
-------
https://git.postgresql.org/pg/commitdiff/a1a7bb8f16cd5529d76850c85625039ad7aa348a
Modified Files
--------------
src/backend/utils/misc/Makefile | 1 +
src/backend/utils/misc/conffiles.c | 164 +++++++++++++++++++++++++++++++++++++
src/backend/utils/misc/guc-file.l | 157 ++++-------------------------------
src/backend/utils/misc/meson.build | 1 +
src/include/utils/conffiles.h | 23 ++++++
5 files changed, 204 insertions(+), 142 deletions(-)
From | Date | Subject | |
---|---|---|---|
Next Message | Thomas Munro | 2022-11-07 12:16:09 | Re: pg_upgrade test failure |
Previous Message | Tom Lane | 2022-11-06 16:07:52 | pgsql: Release notes for 15.1, 14.6, 13.9, 12.13, 11.18, 10.23. |