aboutsummaryrefslogtreecommitdiff
path: root/src/backend/access/gist/gistutil.c
diff options
context:
space:
mode:
authorMagnus Hagander <magnus@hagander.net>2010-06-09 10:54:53 +0000
committerMagnus Hagander <magnus@hagander.net>2010-06-09 10:54:53 +0000
commit6a318a1827f8c21f883c5942108ce2c3cd432320 (patch)
tree4549fd86dd5d9dd82ac43ada36b287cc9a0728d2 /src/backend/access/gist/gistutil.c
parentb52f12b3a5e42fa2523484af6696526005f2cb98 (diff)
downloadpostgresql-6a318a1827f8c21f883c5942108ce2c3cd432320.tar.gz
postgresql-6a318a1827f8c21f883c5942108ce2c3cd432320.zip
Make the walwriter close it's handle to an old xlog segment if it's no longer
the current one. Not doing this would leave the walwriter with a handle to a deleted file if there was nothing for it to do for a long period of time, preventing the file from being completely removed. Reported by Tollef Fog Heen, and thanks to Heikki for some hand-holding with the patch.
Diffstat (limited to 'src/backend/access/gist/gistutil.c')
0 files changed, 0 insertions, 0 deletions