1
0
mirror of https://github.com/postgres/postgres.git synced 2025-07-11 10:01:57 +03:00

Allow setting effective_io_concurrency even on unsupported systems

This matches the behavior of other parameters that are unsupported on
some systems (e.g., ssl).

Also document the default value.
This commit is contained in:
Peter Eisentraut
2014-10-18 21:35:46 -04:00
parent b87671f1b6
commit 7feaccc217
3 changed files with 10 additions and 4 deletions

View File

@ -2258,11 +2258,7 @@ static struct config_int ConfigureNamesInt[] =
{
{"effective_io_concurrency",
#ifdef USE_PREFETCH
PGC_USERSET,
#else
PGC_INTERNAL,
#endif
RESOURCES_ASYNCHRONOUS,
gettext_noop("Number of simultaneous requests that can be handled efficiently by the disk subsystem."),
gettext_noop("For RAID arrays, this should be approximately the number of drive spindles in the array.")