Reject huge_pages=on if shared_memory_type=sysv.
It doesn't work (it could, but hasn't been implemented).
Back-patch to 12, where shared_memory_type arrived.
Reported-by: Alexander Lakhin <exclusion(at)gmail(dot)com>
Reviewed-by: Alexander Lakhin <exclusion(at)gmail(dot)com>
Discussion: https://postgr.es/m/163271880203.22789.1125998876173795966@wrigleys.postgresql.org
Branch
------
REL_13_STABLE
Details
-------
https://git.postgresql.org/pg/commitdiff/24b7cf8a5cff0b0e2dba12a3a1f5c7638ace9986
Modified Files
--------------
doc/src/sgml/config.sgml | 4 +++-
src/backend/port/sysv_shmem.c | 6 ++++++
2 files changed, 9 insertions(+), 1 deletion(-)