The documentation of effective_io_concurrency says
Asynchronous I/O depends on an effective posix_fadvise</>
function, which some operating systems lack. If the function is not
present then setting this parameter to anything but zero will result
in an error.
This is not correct, because on unsupported systems, it is an error to
set this parameter to anything, including zero, because it is set to
PGC_INTERNAL.
I think this is a mistake. For example, we allow setting ssl to false
even if SSL support is not compiled in.
I propose the attached patch to correct this.
Re: effective_io_concurrency documentation
От:
Peter Geoghegan <pg@heroku.com>
Дата:
On Mon, Sep 29, 2014 at 10:41 AM, Peter Eisentraut wrote:
> I think this is a mistake. For example, we allow setting ssl to false
> even if SSL support is not compiled in.
+1
--
Peter Geoghegan