On March 2, 2015 09:50:49 AM Tom Lane wrote: > However, you could and should use pg_malloc0, which takes care of that > for you...
I am (using pg_malloc, that is). So, just to be sure: pg_malloc memsets the block to 0, right? My question was more along the lines if memsetting to 0 to ensure that pointer fields are NULL and int/long fields are 0. I know they are on Linux, but don't know if that applies to other platforms as well, or if I need to set fields explicitly to those 'zero'/'uninitialized' values. jan -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers