]> granicus.if.org Git - postgresql/commit
Change commit_delay to be SUSET for 9.3+
authorSimon Riggs <simon@2ndQuadrant.com>
Fri, 22 Mar 2013 12:01:16 +0000 (12:01 +0000)
committerSimon Riggs <simon@2ndQuadrant.com>
Fri, 22 Mar 2013 12:01:16 +0000 (12:01 +0000)
commit13fe298ca06f5390df5edf073cf401f9f0b67458
tree594d874fbaf2694dfb617bd4286e7e65d7af96b8
parente690b9515072fd7767fdeca5c54166f6a77733bc
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
src/backend/utils/misc/guc.c