pgsql: Fix overly enthusiastic Assert introduced in 8.1: it's expecting

From: tgl(at)postgresql(dot)org (Tom Lane)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Fix overly enthusiastic Assert introduced in 8.1: it's expecting
Date: 2006-10-01 17:23:51
Message-ID: 20061001172351.8B7029FB29F@postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Log Message:
-----------
Fix overly enthusiastic Assert introduced in 8.1: it's expecting a
CaseTestExpr, but forgot that the optimizer is sometimes able to replace
CaseTestExpr by Const.

Tags:
----
REL8_1_STABLE

Modified Files:
--------------
pgsql/src/backend/utils/adt:
ruleutils.c (r1.207.2.5 -> r1.207.2.6)
(http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/utils/adt/ruleutils.c.diff?r1=1.207.2.5&r2=1.207.2.6)

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2006-10-01 18:37:53 pgsql: Remove accented characters in comments, to avoid failures when
Previous Message Tom Lane 2006-10-01 17:23:38 pgsql: Fix overly enthusiastic Assert introduced in 8.1: it's expecting