Skip to content
Snippets Groups Projects
Commit 2deef968 authored by Tom Lane's avatar Tom Lane
Browse files

After transforming a CASE expr with a default argument,

delete the default argument from the node.  This prevents the executor
from spitting up on the untransformed argument expression.  Typical
failure was:
select (case f1 when 'val' then 'subst' else f1 end) from t1;
ERROR:  copyObject: don't know how to copy 704
parent 38405e18
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment