aboutsummaryrefslogtreecommitdiff
path: root/src/backend/commands/cluster.c
diff options
context:
space:
mode:
authorAlvaro Herrera <alvherre@alvh.no-ip.org>2007-09-10 17:58:50 +0000
committerAlvaro Herrera <alvherre@alvh.no-ip.org>2007-09-10 17:58:50 +0000
commit053731ab0a3ab8dc98742a71780e52f4d39e10c4 (patch)
tree0737a924482b9de9d3b514d408801f8fe1f94aa7 /src/backend/commands/cluster.c
parent4a78bd8a4db5358fc885bc1848853c50b9b2cf7c (diff)
downloadpostgresql-053731ab0a3ab8dc98742a71780e52f4d39e10c4.tar.gz
postgresql-053731ab0a3ab8dc98742a71780e52f4d39e10c4.zip
Remove the vacuum_delay_point call in count_nondeletable_pages, because we hold
an exclusive lock on the table at this point, which we want to release as soon as possible. This is called in the phase of lazy vacuum where we truncate the empty pages at the end of the table. An alternative solution would be to lower the vacuum delay settings before starting the truncating phase, but this doesn't work very well in autovacuum due to the autobalancing code (which can cause other processes to change our cost delay settings). This case could be considered in the balancing code, but it is simpler this way.
Diffstat (limited to 'src/backend/commands/cluster.c')
0 files changed, 0 insertions, 0 deletions