COALESCE() and NULLIF() are now first-class expressions, not macros
Tom Lane <tgl@sss.pgh.pa.us>
COALESCE() and NULLIF() are now first-class expressions, not macros that turn into CASE expressions. They evaluate their arguments at most once. Patch by Kris Jurka, review and (very light) editorializing by me.