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>
Tue, 26 Oct 2021 00:01:52 +0000 (13:01 +1300)
commit8fef901e3fe2119c434c93c9f05063633a43eaad
treef12bd180e823349b7eaced89046abe0c65815adf
parent90eb17088a3659d0a60f3d1d59cef9325705aa81
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