Improve error reporting for unsupported effective_io_concurrency setting.

Tom Lane <tgl@sss.pgh.pa.us>

Commit: 2b04dfc4724970231ac338aa71e529c823fc5ff6
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2018-09-28T20:12:13Z
Releases: 12.0
Improve error reporting for unsupported effective_io_concurrency setting.

Give a specific error complaining about lack of posix_fadvise() when
someone tries to set effective_io_concurrency > 0 on platforms
without that.

This probably isn't worth extensive back-patching, but I (tgl) felt
cramming it into v11 was reasonable.

James Robinson

Discussion: https://postgr.es/m/153771876450.14994.560017943128223619@wrigleys.postgresql.org
Discussion: https://postgr.es/m/A3942987-5BC7-4F05-B54D-2A0EC2914B33@jlr-photo.com

Files

PathChange+/−
src/backend/utils/misc/guc.c modified +8 −2
src/include/pg_config_manual.h modified +3 −1

Discussion