pgsql: Ensure that any memory leaked during an error inside the bgwriter - Mailing list pgsql-committers

From tgl@svr1.postgresql.org (Tom Lane)
Subject pgsql: Ensure that any memory leaked during an error inside the bgwriter
Date
Msg-id 20050912222030.19777D8C7B@svr1.postgresql.org
Whole thread Raw
List pgsql-committers
Log Message:
-----------
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.

Tags:
----
REL8_0_STABLE

Modified Files:
--------------
    pgsql/src/backend/postmaster:
        bgwriter.c (r1.13.4.1 -> r1.13.4.2)

(http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/postmaster/bgwriter.c.diff?r1=1.13.4.1&r2=1.13.4.2)

pgsql-committers by date:

Previous
From: tgl@svr1.postgresql.org (Tom Lane)
Date:
Subject: pgsql: Ensure that any memory leaked during an error inside the bgwriter
Next
From: neilc@svr1.postgresql.org (Neil Conway)
Date:
Subject: pgsql: Minor documentation tweak: make the capitalization of a section