diff options
author | Heikki Linnakangas <heikki.linnakangas@iki.fi> | 2011-03-11 15:44:40 +0200 |
---|---|---|
committer | Heikki Linnakangas <heikki.linnakangas@iki.fi> | 2011-03-11 17:27:57 +0200 |
commit | 30e8b3e58ed56cbc07ae7cd392ee4b9782178ca5 (patch) | |
tree | e7e110393b1129a7937badde50d5263f086cd722 /src/backend/parser/parse_expr.c | |
parent | 59bacbe1470b7b3c4382284301267b18daf98e93 (diff) | |
download | postgresql-30e8b3e58ed56cbc07ae7cd392ee4b9782178ca5.tar.gz postgresql-30e8b3e58ed56cbc07ae7cd392ee4b9782178ca5.zip |
In ecpg preprocessor, don't try to look up constants in the test for
variable hiding. A constant is not a variable. It worked in most cases by
accident, because we add constants to the global list of variables (why?),
but float constants like 1.23 were interpreted as struct field references,
and not found.
Backpatch to 9.0, where the test for variable hiding was added.
Diffstat (limited to 'src/backend/parser/parse_expr.c')
0 files changed, 0 insertions, 0 deletions