summaryrefslogtreecommitdiff
path: root/src/tutorial/basics.source
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2009-02-25 18:00:07 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2009-02-25 18:00:07 +0000
commit58a36a1ad761872b2e6efd0fba5fd3a34c52abbf (patch)
tree418c30811ee78093e471de919a7a0a8a657aa3b4 /src/tutorial/basics.source
parent1ae836132ec80ec1ac0cb214ebe97299be07d696 (diff)
Fix an old problem in decompilation of CASE constructs: the ruleutils.c code
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.
Diffstat (limited to 'src/tutorial/basics.source')
0 files changed, 0 insertions, 0 deletions