Peter Eisentraut wrote:
Mark Dilger wrote:

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.


palloc will throw an exception if it cannot fulfill the request. Code that checks the return value for null is in fact a waste.


Interesting. So the patch should go the other way, and remove the checks that are currently in the code?

---------------------------(end of broadcast)---------------------------
TIP 1: 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