Preparatory refactoring for compiling guc-file.c standalone

John Naylor <john.naylor@postgresql.org>

Commit: 1b188ea7921a7d4f6cc569541e32c980d2221f9d
Author: John Naylor <john.naylor@postgresql.org>
Date: 2022-09-04T03:12:56Z
Releases: 16.0
Preparatory refactoring for compiling guc-file.c standalone

Mostly this involves moving ProcessConfigFileInternal() to guc.c
and fixing the shared API to match.

Reviewed by Andres Freund
Discussion: https://www.postgresql.org/message-id/20220810171935.7k5zgnjwqzalzmtm%40awork3.anarazel.de
Discussion: https://www.postgresql.org/message-id/CAFBsxsF8Gc2StS3haXofshHCzqNMRXiSxvQEYGwnFsTmsdwNeg@mail.gmail.com

Files

PathChange+/−
src/backend/utils/misc/guc.c modified +354 −6
src/backend/utils/misc/guc-file.l modified +1 −359
src/include/utils/guc.h modified +9 −0

Discussion