]> granicus.if.org Git - postgresql/commit
Teach deparsing of CASE expressions to cope with the simplified forms
authorTom Lane <tgl@sss.pgh.pa.us>
Sat, 10 Dec 2005 19:21:17 +0000 (19:21 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Sat, 10 Dec 2005 19:21:17 +0000 (19:21 +0000)
commitf23e9f7a54f101066667b8ddfedb644a6accfb81
tree1d33f34ba16d9166fea480fd7a56f82e9d7a73a3
parent31a21e3df0a00be4f278c815b487b6c9d9f12a11
Teach deparsing of CASE expressions to cope with the simplified forms
that simplify_boolean_equality() may leave behind.  This is only relevant
if the user writes something a bit silly, like CASE x=y WHEN TRUE THEN.
Per example from Michael Fuhr; may or may not explain bug #2106.
src/backend/utils/adt/ruleutils.c