]> granicus.if.org Git - postgresql/commit
Add new function dsa_allocate0.
authorRobert Haas <rhaas@postgresql.org>
Thu, 16 Feb 2017 17:45:53 +0000 (12:45 -0500)
committerRobert Haas <rhaas@postgresql.org>
Thu, 16 Feb 2017 17:57:03 +0000 (12:57 -0500)
commit9acb85597f1223ac26a5b19a9345849c43d0ff54
tree1c468fd79b52034d616a562d5a9f0ef0c96f3381
parent3b7673388da3598933ae6c4f9fdc7c79dee05558
Add new function dsa_allocate0.

This does the same thing as dsa_allocate, except that the memory
is guaranteed to be zero-filled on return.

Dilip Kumar, adjusted by me.
src/backend/utils/mmgr/dsa.c
src/include/utils/dsa.h