]> granicus.if.org Git - postgresql/commit
Short-circuit AllocSetReset if nothing has been palloc'd in the memory
authorTom Lane <tgl@sss.pgh.pa.us>
Thu, 1 Sep 2005 18:15:42 +0000 (18:15 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Thu, 1 Sep 2005 18:15:42 +0000 (18:15 +0000)
commita635ab46be0338b672e14d49fcea541e6c744420
treee4e007755ea013a4361f866f3cd133b2d3125911
parent91a21b532d6fa05e299402bf67a37cd83c05e0b7
Short-circuit AllocSetReset if nothing has been palloc'd in the memory
context since the previous AllocSetReset.  Original patch by Atsushi Ogawa,
editorialized on a little bit by Tom Lane.
src/backend/utils/mmgr/aset.c