mirror of https://github.com/postgres/postgres
looks for a CaseTestExpr to figure out what the parser did, but it failed to consider the possibility that an implicit coercion might be inserted above the CaseTestExpr. This could result in an Assert failure in some cases (but correct results if Asserts weren't enabled), or an "unexpected CASE WHEN clause" error in other cases. Per report from Alan Li. Back-patch to 8.1; problem doesn't exist before that because CASE was implemented differently.REL8_5_ALPHA1_BRANCH
parent
59a64e381c
commit
eea49769d4
Loading…
Reference in new issue