CVSROOT: /cvsroot
Module name: pgsql-server
Changes by: tgl@postgresql.org 02/12/16 11:22:46
Modified files:
src/backend/nodes: nodes.c
src/backend/utils/mmgr: mcxt.c
src/include : c.h
src/include/nodes: nodes.h
src/include/utils: memutils.h palloc.h
Log message:
Code review for palloc0 patch --- avoid dangerous and unnecessary
practice of evaluating MemSet's arguments multiple times, except for
the special case of newNode(), where we can assume the argument is
a constant sizeof() operator.
Also, add GetMemoryChunkContext() to mcxt.c's API, in preparation for
fixing recent GEQO breakage.