git.postgresql.org Git - postgresql.git/commit

git projects / postgresql.git / commit
? search:
summary | shortlog | log | commit | commitdiff | tree
(parent: 5a41c31) | patch
Make the walwriter close it's handle to an old xlog segment if it's no longer
Wed, 9 Jun 2010 10:54:45 +0000 (10:54 +0000)
Wed, 9 Jun 2010 10:54:45 +0000 (10:54 +0000)
commit 8c873bbfa723e4d035847a488adbd0aa21c595b9
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.
src/backend/access/transam/xlog.c diff | blob | blame | history
This is the main PostgreSQL git repository.
RSS Atom

AltStyle によって変換されたページ (->オリジナル) /