Skip site navigation (1) Skip section navigation (2)

pgsql: In ecpg preprocessor,don't try to look up constants in the test

From: Heikki Linnakangas <heikki(dot)linnakangas(at)iki(dot)fi>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: In ecpg preprocessor,don't try to look up constants in the test
Date: 2011-03-11 15:28:57
Message-ID: E1Py4Gv-0005MM-Nd@gemulon.postgresql.org (view raw or flat)
Thread:
Lists: pgsql-committers
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.

Branch
------
REL9_0_STABLE

Details
-------
http://git.postgresql.org/pg/commitdiff/2f418e8a174136507fb1f80214415b144e24850c

Modified Files
--------------
src/interfaces/ecpg/preproc/type.c |    2 +-
1 files changed, 1 insertions(+), 1 deletions(-)

pgsql-committers by date

Next:From: Bruce MomjianDate: 2011-03-11 15:31:41
Subject: pgsql: Document how listen_addresses can do only IPv4 or IPv6.
Previous:From: Bruce MomjianDate: 2011-03-11 15:24:24
Subject: pgsql: Adds index entries for session_user and pg_describe_object

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group