mirror of
https://github.com/postgres/postgres.git
synced 2025-04-29 13:56:47 +03:00
Give a better error message when trying to change
"effective_io_concurrency" on systems without posix_fadvise().
This commit is contained in:
parent
2faa8e2ac1
commit
3b07182e61
@ -10,7 +10,7 @@
|
|||||||
* Written by Peter Eisentraut <peter_e@gmx.net>.
|
* Written by Peter Eisentraut <peter_e@gmx.net>.
|
||||||
*
|
*
|
||||||
* IDENTIFICATION
|
* IDENTIFICATION
|
||||||
* $PostgreSQL: pgsql/src/backend/utils/misc/guc.c,v 1.498 2009/04/02 03:51:43 tgl Exp $
|
* $PostgreSQL: pgsql/src/backend/utils/misc/guc.c,v 1.499 2009/04/02 19:57:19 momjian Exp $
|
||||||
*
|
*
|
||||||
*--------------------------------------------------------------------
|
*--------------------------------------------------------------------
|
||||||
*/
|
*/
|
||||||
@ -1713,7 +1713,13 @@ static struct config_int ConfigureNamesInt[] =
|
|||||||
},
|
},
|
||||||
|
|
||||||
{
|
{
|
||||||
{"effective_io_concurrency", PGC_USERSET, RESOURCES,
|
{"effective_io_concurrency",
|
||||||
|
#ifdef USE_PREFETCH
|
||||||
|
PGC_USERSET,
|
||||||
|
#else
|
||||||
|
PGC_INTERNAL,
|
||||||
|
#endif
|
||||||
|
RESOURCES,
|
||||||
gettext_noop("Number of simultaneous requests that can be handled efficiently by the disk subsystem."),
|
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.")
|
gettext_noop("For RAID arrays, this should be approximately the number of drive spindles in the array.")
|
||||||
},
|
},
|
||||||
|
Loading…
x
Reference in New Issue
Block a user