pgsql: Short-circuit AllocSetReset if nothing has been palloc'd in the
pgsql: Short-circuit AllocSetReset if nothing has been palloc'd in the
От:
tgl@svr1.postgresql.org (Tom Lane)
Дата:
Log Message:
-----------
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.
Modified Files:
--------------
pgsql/src/backend/utils/mmgr:
aset.c (r1.62 -> r1.63)
(http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/utils/mmgr/aset.c.diff?r1=1.62&r2=1.63)