Reject huge_pages=on if shared_memory_type=sysv.
authorThomas Munro <tmunro@postgresql.org>
Mon, 25 Oct 2021 23:54:55 +0000 (12:54 +1300)
committerThomas Munro <tmunro@postgresql.org>
Mon, 25 Oct 2021 23:54:55 +0000 (12:54 +1300)
commit8781b0ce25e702ba4a4f032d00da7acdef8dbfe1
tree3c67d575dfe80a909194cc3a57f04be3c2c2adf2
parenta030a0c5ccb113ccd09d0f0b82f1edb5e49ed607
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@gmail.com>
Reviewed-by: Alexander Lakhin <exclusion@gmail.com>
Discussion: https://postgr.es/m/163271880203.22789.1125998876173795966@wrigleys.postgresql.org
doc/src/sgml/config.sgml
src/backend/port/sysv_shmem.c