Обсуждение: effective_io_concurrency documentation

Поиск
Список
Период
Сортировка

effective_io_concurrency documentation

От
Peter Eisentraut
Дата:
The documentation of effective_io_concurrency says

    Asynchronous I/O depends on an effective <function>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
Дата:
On Mon, Sep 29, 2014 at 10:41 AM, Peter Eisentraut <peter_e@gmx.net> 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