diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 1999-04-18 17:35:51 +0000 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 1999-04-18 17:35:51 +0000 |
commit | 2deef968f4dac488549d1e0b827e4abb2c524363 (patch) | |
tree | 633d5bc73d91e0a19b68d38c45920ec890d1c1e5 /src/backend/tcop/postgres.c | |
parent | 38405e18944c50c11c16c68d50ed7d12ca0d54c0 (diff) | |
download | postgresql-2deef968f4dac488549d1e0b827e4abb2c524363.tar.gz postgresql-2deef968f4dac488549d1e0b827e4abb2c524363.zip |
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
Diffstat (limited to 'src/backend/tcop/postgres.c')
0 files changed, 0 insertions, 0 deletions