Re: Two small bugs in guc.c

2023-12-27 Thread Tristan Partin
On Tue Dec 26, 2023 at 1:02 PM CST, Tom Lane wrote: I investigated the report at [1] about pg_file_settings not reporting invalid values of "log_connections". It turns out it's broken for PGC_BACKEND and PGC_SU_BACKEND parameters, but not other ones. The cause is a bit of premature optimization

Two small bugs in guc.c

2023-12-26 Thread Tom Lane
I investigated the report at [1] about pg_file_settings not reporting invalid values of "log_connections". It turns out it's broken for PGC_BACKEND and PGC_SU_BACKEND parameters, but not other ones. The cause is a bit of premature optimization in this logic: * If a PGC_BACKEND or