pgsql: Fix overly enthusiastic Assert introduced in 8.1: it's expecting - Mailing list pgsql-committers

From tgl@postgresql.org (Tom Lane)
Subject pgsql: Fix overly enthusiastic Assert introduced in 8.1: it's expecting
Date
Msg-id 20061001172351.8B7029FB29F@postgresql.org
Whole thread Raw
List 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)

pgsql-committers by date:

Previous
From: tgl@postgresql.org (Tom Lane)
Date:
Subject: pgsql: Fix overly enthusiastic Assert introduced in 8.1: it's expecting
Next
From: tgl@postgresql.org (Tom Lane)
Date:
Subject: pgsql: Remove accented characters in comments, to avoid failures when