diff options
author | Magnus Hagander <magnus@hagander.net> | 2010-06-09 10:54:45 +0000 |
---|---|---|
committer | Magnus Hagander <magnus@hagander.net> | 2010-06-09 10:54:45 +0000 |
commit | 8c873bbfa723e4d035847a488adbd0aa21c595b9 (patch) | |
tree | 41e2843750b179211eb4a093babc838a2db1d5e2 /src/tutorial/funcs.c | |
parent | 5a41c317c58603e1beff5f2f31e157a30f41a3bf (diff) | |
download | postgresql-8c873bbfa723e4d035847a488adbd0aa21c595b9.tar.gz postgresql-8c873bbfa723e4d035847a488adbd0aa21c595b9.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/tutorial/funcs.c')
0 files changed, 0 insertions, 0 deletions