pgsql: Teach deparsing of CASE expressions to cope with the simplified

From: tgl(at)postgresql(dot)org (Tom Lane)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Teach deparsing of CASE expressions to cope with the simplified
Date: 2005-12-10 19:21:04
Message-ID: 20051210192104.297679DD06C@postgresql.org
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Log Message:
-----------
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.

Modified Files:
--------------
pgsql/src/backend/utils/adt:
ruleutils.c (r1.209 -> r1.210)
(http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/utils/adt/ruleutils.c.diff?r1=1.209&r2=1.210)

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2005-12-10 19:21:18 pgsql: Teach deparsing of CASE expressions to cope with the simplified
Previous Message User Fxjr 2005-12-10 15:27:09 npgsql - Npgsql: 2005-12-10 Francisco Figueiredo Jr.