aboutsummaryrefslogtreecommitdiff
path: root/src/backend/access/gist/gist.c
diff options
context:
space:
mode:
authorHeikki Linnakangas <heikki.linnakangas@iki.fi>2009-01-06 14:56:13 +0000
committerHeikki Linnakangas <heikki.linnakangas@iki.fi>2009-01-06 14:56:13 +0000
commit4d79a504942d7e3f58133bc56087137091f3a5b7 (patch)
treedbee2ea974aac96a8bc3009547ebe134c3325567 /src/backend/access/gist/gist.c
parent31f6cfb69077979f78fe854730c5d6e20f15a67a (diff)
downloadpostgresql-4d79a504942d7e3f58133bc56087137091f3a5b7.tar.gz
postgresql-4d79a504942d7e3f58133bc56087137091f3a5b7.zip
Fix logic in lazy vacuum to decide if it's worth trying to truncate the heap.
If the table was smaller than REL_TRUNCATE_FRACTION (= 16) pages, we always tried to acquire AccessExclusiveLock on it even if there was no empty pages at the end. Report by Simon Riggs. Back-patch all the way to 7.4.
Diffstat (limited to 'src/backend/access/gist/gist.c')
0 files changed, 0 insertions, 0 deletions