]> granicus.if.org Git - postgresql/commit
Ensure that any memory leaked during an error inside the bgwriter is
authorTom Lane <tgl@sss.pgh.pa.us>
Mon, 12 Sep 2005 22:20:30 +0000 (22:20 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Mon, 12 Sep 2005 22:20:30 +0000 (22:20 +0000)
commit8080e8e8cea37507394a2bff43c1dbd9b0a437a4
tree8831235abf19b21fd85d744ad9fc8482c1da98cd
parent3926b6e9c31ab247cb8a2f2efcd1733da6d96bea
Ensure that any memory leaked during an error inside the bgwriter is
recovered.  I did not see any actual leak while testing this in CVS tip,
but 8.0 definitely has a problem with leaking the space temporarily
palloc'd by BufferSync().  In any case this seems a good idea to forestall
similar problems in future.  Per report from Arjen van der Meijden.
src/backend/postmaster/bgwriter.c