pgsql: Add new function dsa_allocate0.
Robert Haas <rhaas@postgresql.org>
From: Robert Haas <rhaas@postgresql.org>
To: pgsql-committers@postgresql.org
Date: 2017-02-16T18:02:51Z
Lists: pgsql-hackers
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. Branch ------ master Details ------- http://git.postgresql.org/pg/commitdiff/9acb85597f1223ac26a5b19a9345849c43d0ff54 Modified Files -------------- src/backend/utils/mmgr/dsa.c | 16 ++++++++++++++++ src/include/utils/dsa.h | 1 + 2 files changed, 17 insertions(+)
Commits
-
Make dsa_allocate interface more like MemoryContextAlloc.
- 16be2fd10019 10.0 landed
-
Add new function dsa_allocate0.
- 9acb85597f12 10.0 cited