Content-Length: 258476 | pFad | http://github.com/postgrespro/postgres/commit/13fe298ca06f5390df5edf073cf401f9f0b67458

8E Change commit_delay to be SUSET for 9.3+ · postgrespro/postgres@13fe298 · GitHub
Skip to content

Commit 13fe298

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 the WALWriteLock. Deliberate or accidental settings to a poor value could seriously degrade performance for all users. Privileges may be delegated by SECURITY DEFINER functions for anyone that needs per-user settings in real situations. Request for change from Peter Geoghegan
1 parent e690b95 commit 13fe298

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)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/postgrespro/postgres/commit/13fe298ca06f5390df5edf073cf401f9f0b67458

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy