Reject huge_pages=on if shared_memory_type=sysv.

Thomas Munro <tmunro@postgresql.org>

Commit: 24b7cf8a5cff0b0e2dba12a3a1f5c7638ace9986
Author: Thomas Munro <tmunro@postgresql.org>
Date: 2021-10-26T00:04:40Z
Releases: 13.5
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

Files

PathChange+/−
doc/src/sgml/config.sgml modified +3 −1
src/backend/port/sysv_shmem.c modified +6 −0

Documentation touched

Discussion