pgsql: Allow ALTER SYSTEM to set unrecognized custom GUCs.

2023-10-21 Thread Tom Lane
Allow ALTER SYSTEM to set unrecognized custom GUCs. Previously, ALTER SYSTEM failed if the target GUC wasn't present in the session's GUC hashtable. That is a reasonable behavior for core (single-part) GUC names, and for custom GUCs for which we have loaded an extension that's reserved the prefix

pgsql: Fix min_dynamic_shared_memory on Windows.

2023-10-21 Thread Thomas Munro
Fix min_dynamic_shared_memory on Windows. When min_dynamic_shared_memory is set above 0, we try to find space in a pre-allocated region of the main shared memory area instead of calling dsm_impl_XXX() routines to allocate more. The dsm_pin_segment() and dsm_unpin_segment() routines had a bug: the

pgsql: Fix min_dynamic_shared_memory on Windows.

2023-10-21 Thread Thomas Munro
Fix min_dynamic_shared_memory on Windows. When min_dynamic_shared_memory is set above 0, we try to find space in a pre-allocated region of the main shared memory area instead of calling dsm_impl_XXX() routines to allocate more. The dsm_pin_segment() and dsm_unpin_segment() routines had a bug: the

pgsql: Fix min_dynamic_shared_memory on Windows.

2023-10-21 Thread Thomas Munro
Fix min_dynamic_shared_memory on Windows. When min_dynamic_shared_memory is set above 0, we try to find space in a pre-allocated region of the main shared memory area instead of calling dsm_impl_XXX() routines to allocate more. The dsm_pin_segment() and dsm_unpin_segment() routines had a bug: the

pgsql: Fix min_dynamic_shared_memory on Windows.

2023-10-21 Thread Thomas Munro
Fix min_dynamic_shared_memory on Windows. When min_dynamic_shared_memory is set above 0, we try to find space in a pre-allocated region of the main shared memory area instead of calling dsm_impl_XXX() routines to allocate more. The dsm_pin_segment() and dsm_unpin_segment() routines had a bug: the

pgsql: Log LLVM library version in configure output.

2023-10-21 Thread Thomas Munro
Log LLVM library version in configure output. When scanning build farm results, it's useful to be able to see which version is in use. For the Meson build system, this information was already displayed. Back-patch to all supported branches. Discussion: https://postgr.es/m/4022690.1697852728%40s

pgsql: Log LLVM library version in configure output.

2023-10-21 Thread Thomas Munro
Log LLVM library version in configure output. When scanning build farm results, it's useful to be able to see which version is in use. For the Meson build system, this information was already displayed. Back-patch to all supported branches. Discussion: https://postgr.es/m/4022690.1697852728%40s

pgsql: Log LLVM library version in configure output.

2023-10-21 Thread Thomas Munro
Log LLVM library version in configure output. When scanning build farm results, it's useful to be able to see which version is in use. For the Meson build system, this information was already displayed. Back-patch to all supported branches. Discussion: https://postgr.es/m/4022690.1697852728%40s

pgsql: Log LLVM library version in configure output.

2023-10-21 Thread Thomas Munro
Log LLVM library version in configure output. When scanning build farm results, it's useful to be able to see which version is in use. For the Meson build system, this information was already displayed. Back-patch to all supported branches. Discussion: https://postgr.es/m/4022690.1697852728%40s

pgsql: Log LLVM library version in configure output.

2023-10-21 Thread Thomas Munro
Log LLVM library version in configure output. When scanning build farm results, it's useful to be able to see which version is in use. For the Meson build system, this information was already displayed. Back-patch to all supported branches. Discussion: https://postgr.es/m/4022690.1697852728%40s

pgsql: Log LLVM library version in configure output.

2023-10-21 Thread Thomas Munro
Log LLVM library version in configure output. When scanning build farm results, it's useful to be able to see which version is in use. For the Meson build system, this information was already displayed. Back-patch to all supported branches. Discussion: https://postgr.es/m/4022690.1697852728%40s

pgsql: Log LLVM library version in configure output.

2023-10-21 Thread Thomas Munro
Log LLVM library version in configure output. When scanning build farm results, it's useful to be able to see which version is in use. For the Meson build system, this information was already displayed. Back-patch to all supported branches. Discussion: https://postgr.es/m/4022690.1697852728%40s