Mark Dilger <pgsql@markdilger.com> writes:
> Looking through the postgresql source code, I notice that there are many places
> were palloc is used but the return value is not checked to see if it is null.
Any place that *does* check it is incorrect (in the sense of being
wasted code space, not functionally incorrect). Please read the memmgr
documentation.
regards, tom lane