Fix overly enthusiastic Assert introduced in 8.1: it's expecting a
authorTom Lane <tgl@sss.pgh.pa.us>
Sun, 1 Oct 2006 17:23:51 +0000 (17:23 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Sun, 1 Oct 2006 17:23:51 +0000 (17:23 +0000)
commit9acbb81dd785f3b269c5eca5d06c338470053c44
treeaf82ea8c5c73b535d95794376a41692edab0d40c
parente73687f2ecd2bbec22812db1c19fd6ee8dc3c08e
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.
src/backend/utils/adt/ruleutils.c