malloc in xlog.c - Mailing list pgsql-hackers

From Bruce Momjian
Subject malloc in xlog.c
Date
Msg-id 200212171830.gBHIULG20333@candle.pha.pa.us
Whole thread Raw
Responses Re: malloc in xlog.c
List pgsql-hackers
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                        |  http://candle.pha.pa.us pgman@candle.pha.pa.us               |  (610)
359-1001+  If your life is a hard drive,     |  13 Roberts Road +  Christ can be your backup.        |  Newtown Square,
Pennsylvania19073
 


pgsql-hackers by date:

Previous
From: mlw
Date:
Subject: Re: Password security question
Next
From: Matthew Kirkwood
Date:
Subject: Re: Suggestion; "WITH VACUUM" option