If a platform doesn't have posix_fadvise(), we don't allow
effective_io_concurrency to be set to anything but zero:

        test=> set  effective_io_concurrency = 1;
        ERROR:  1 is outside the valid range for parameter 
"effective_io_concurrency" (0 .. 0)
        test=> set  effective_io_concurrency = 0;
        SET

Do we want to give a more informative error message, like "not supported
on this platform?"

-- 
  Bruce Momjian  <br...@momjian.us>        http://momjian.us
  EnterpriseDB                             http://enterprisedb.com

  + If your life is a hard drive, Christ can be your backup. +

-- 
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers

Reply via email to