Teach deparsing of CASE expressions to cope with the simplified forms
authorTom Lane <tgl@sss.pgh.pa.us>
Sat, 10 Dec 2005 19:21:03 +0000 (19:21 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Sat, 10 Dec 2005 19:21:03 +0000 (19:21 +0000)
commit26175514311ef1229e9be3c70ead499980b7ed1e
tree91709030dfc13630d10275c9afc358d068d2a433
parent69525fc0ef56ee4cf6502a7a57247f4cebeead45
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