Re: [HACKERS] malloc in xlog.c

2002-12-17 Thread Tom Lane
Bruce Momjian <[EMAIL PROTECTED]> writes: > I see a few malloc's in backend/access/transam/xlog.c that don't check > to see if malloc returns NULL/failure. I think there should be at least > an Assert() in there. It'll dump core just fine without the help of an Assert ;-). I don't see that an As

[HACKERS] malloc in xlog.c

2002-12-17 Thread Bruce Momjian
I see a few malloc's in backend/access/transam/xlog.c that don't check to see if malloc returns NULL/failure. I think there should be at least an Assert() in there. Also, seems we use malloc() a few other places where palloc should be used, like variable.c. Is that correct? -- Bruce Momjian