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

Поиск
Список
Период
Сортировка
От Heikki Linnakangas
Тема pgsql: In ecpg preprocessor, don't try to look up constants in the test
Дата
Msg-id E1Py4Gv-0005MK-Mr@gemulon.postgresql.org
обсуждение исходный текст
Список 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
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/30e8b3e58ed56cbc07ae7cd392ee4b9782178ca5

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


В списке pgsql-committers по дате отправления:

Предыдущее
От: Heikki Linnakangas
Дата:
Сообщение: pgsql: In ecpg preprocessor, don't try to look up constants in the test
Следующее
От: Bruce Momjian
Дата:
Сообщение: pgsql: Document how listen_addresses can do only IPv4 or IPv6.