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

Commit13fe298

Browse files
Change commit_delay to be SUSET for 9.3+
Prior to 9.3 the commit_delay affected only the current user,whereas now only the group leader waits while holding theWALWriteLock. Deliberate or accidental settings to a poorvalue could seriously degrade performance for all users.Privileges may be delegated by SECURITY DEFINER functionsfor anyone that needs per-user settings in real situations.Request for change from Peter Geoghegan
1 parente690b95 commit13fe298

File tree

1 file changed

+1
-1
lines changed
  • src/backend/utils/misc

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2042,7 +2042,7 @@ static struct config_int ConfigureNamesInt[] =
20422042
},
20432043

20442044
{
2045-
{"commit_delay",PGC_USERSET,WAL_SETTINGS,
2045+
{"commit_delay",PGC_SUSET,WAL_SETTINGS,
20462046
gettext_noop("Sets the delay in microseconds between transaction commit and "
20472047
"flushing WAL to disk."),
20482048
NULL

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp