aboutsummaryrefslogtreecommitdiff
path: root/src/backend/access/gist/gistproc.c
diff options
context:
space:
mode:
authorSimon Riggs <simon@2ndQuadrant.com>2010-12-08 18:48:03 +0000
committerSimon Riggs <simon@2ndQuadrant.com>2010-12-08 18:48:03 +0000
commite620ee35b249b0af255ef788003d1c9edb815a35 (patch)
treee8b04c9426be8a7abdb95c69b97b6b9f17513bf1 /src/backend/access/gist/gistproc.c
parent5a031a5556ff83b8a9646892715d7fef415b83c3 (diff)
downloadpostgresql-e620ee35b249b0af255ef788003d1c9edb815a35.tar.gz
postgresql-e620ee35b249b0af255ef788003d1c9edb815a35.zip
Optimize commit_siblings in two ways to improve group commit.
First, avoid scanning the whole ProcArray once we know there are at least commit_siblings active; second, skip the check altogether if commit_siblings = 0. Greg Smith
Diffstat (limited to 'src/backend/access/gist/gistproc.c')
0 files changed, 0 insertions, 0 deletions