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.560017943128223...@wrigleys.postgresql.org
Discussion: 
https://postgr.es/m/a3942987-5bc7-4f05-b54d-2a0ec2914...@jlr-photo.com

Branch
------
REL_11_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/a8fb03fceadb5fe9698ff0182ca76b0640348e70

Modified Files
--------------
src/backend/utils/misc/guc.c   | 10 ++++++++--
src/include/pg_config_manual.h |  4 +++-
2 files changed, 11 insertions(+), 3 deletions(-)

Reply via email to