Bruce Momjian <[EMAIL PROTECTED]> writes:
> Thanks.  Wonder why my testing worked?  I guess xmalloc was giving me
> zeroed memory.

One-shot programs like initdb are very likely to see all-zeroed memory,
since that's what the kernel gives you.  It's only after you start
freeing things that you'll get nonzero areas from malloc ...

                        regards, tom lane

---------------------------(end of broadcast)---------------------------
TIP 3: if posting/reading through Usenet, please send an appropriate
      subscribe-nomail command to [EMAIL PROTECTED] so that your
      message can get through to the mailing list cleanly

Reply via email to