Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit3b07182

Browse files
committed
Give a better error message when trying to change
"effective_io_concurrency" on systems without posix_fadvise().
1 parent2faa8e2 commit3b07182

File tree

1 file changed

+8
-2
lines changed
  • src/backend/utils/misc

1 file changed

+8
-2
lines changed

‎src/backend/utils/misc/guc.c

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
* Written by Peter Eisentraut <peter_e@gmx.net>.
1111
*
1212
* IDENTIFICATION
13-
* $PostgreSQL: pgsql/src/backend/utils/misc/guc.c,v 1.498 2009/04/0203:51:43 tgl Exp $
13+
* $PostgreSQL: pgsql/src/backend/utils/misc/guc.c,v 1.499 2009/04/0219:57:19 momjian Exp $
1414
*
1515
*--------------------------------------------------------------------
1616
*/
@@ -1713,7 +1713,13 @@ static struct config_int ConfigureNamesInt[] =
17131713
},
17141714

17151715
{
1716-
{"effective_io_concurrency",PGC_USERSET,RESOURCES,
1716+
{"effective_io_concurrency",
1717+
#ifdefUSE_PREFETCH
1718+
PGC_USERSET,
1719+
#else
1720+
PGC_INTERNAL,
1721+
#endif
1722+
RESOURCES,
17171723
gettext_noop("Number of simultaneous requests that can be handled efficiently by the disk subsystem."),
17181724
gettext_noop("For RAID arrays, this should be approximately the number of drive spindles in the array.")
17191725
},

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp