aboutsummaryrefslogtreecommitdiff
path: root/src/bin/scripts/createuser.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2009-02-25 18:00:01 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2009-02-25 18:00:01 +0000
commiteea49769d415b00ea36e2ee64774cb4d1313d991 (patch)
tree145a05ac276e60f323904d04fae90d627f28b0a1 /src/bin/scripts/createuser.c
parent59a64e381c817cf17ff061bfc8e630a7e055240f (diff)
downloadpostgresql-eea49769d415b00ea36e2ee64774cb4d1313d991.tar.gz
postgresql-eea49769d415b00ea36e2ee64774cb4d1313d991.zip
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/bin/scripts/createuser.c')
0 files changed, 0 insertions, 0 deletions