Doc: clarify data type behavior of COALESCE and NULLIF.
authorTom Lane <tgl@sss.pgh.pa.us>
Mon, 9 Nov 2020 17:02:24 +0000 (12:02 -0500)
committerTom Lane <tgl@sss.pgh.pa.us>
Mon, 9 Nov 2020 17:02:46 +0000 (12:02 -0500)
commit24b83a5082541bdb1b333b7fcbe92f194128595c
tree1fe4d18dc9972e6672d67f787d98ddf913e782b7
parent180cf876d457c260291af070d883c5db5033cb3a
Doc: clarify data type behavior of COALESCE and NULLIF.

After studying the code, NULLIF is a lot more subtle than you might
have guessed.

Discussion: https://postgr.es/m/160486028730.25500.15740897403028593550@wrigleys.postgresql.org
doc/src/sgml/func.sgml
doc/src/sgml/typeconv.sgml