pgsql: Move code related to configuration files in directories to new f
От | Michael Paquier |
---|---|
Тема | pgsql: Move code related to configuration files in directories to new f |
Дата | |
Msg-id | E1orsuY-000mX0-SY@gemulon.postgresql.org обсуждение исходный текст |
Список | 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(-)
В списке pgsql-committers по дате отправления: