pgsql: Fix thinko in tok_is_keyword(): it was looking at the wrong union

Поиск
Список
Период
Сортировка
От tgl@postgresql.org (Tom Lane)
Тема pgsql: Fix thinko in tok_is_keyword(): it was looking at the wrong union
Дата
Msg-id 20100625164013.571077541D4@cvs.postgresql.org
обсуждение исходный текст
Список pgsql-committers
Log Message:
-----------
Fix thinko in tok_is_keyword(): it was looking at the wrong union variant
of YYSTYPE, and hence returning the wrong answer for cases where a plpgsql
"unreserved keyword" really does conflict with a variable name.  Obviously
I didn't test this enough :-(.  Per bug #5524 from Peter Gagarinov.

Modified Files:
--------------
    pgsql/src/pl/plpgsql/src:
        gram.y (r1.142 -> r1.143)
        (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/pl/plpgsql/src/gram.y?r1=1.142&r2=1.143)
    pgsql/src/test/regress/expected:
        plpgsql.out (r1.84 -> r1.85)
        (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/test/regress/expected/plpgsql.out?r1=1.84&r2=1.85)
    pgsql/src/test/regress/sql:
        plpgsql.sql (r1.71 -> r1.72)
        (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/test/regress/sql/plpgsql.sql?r1=1.71&r2=1.72)

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

Предыдущее
От: sriggs@postgresql.org (Simon Riggs)
Дата:
Сообщение: pgsql: Fix log_temp_files docs and comments to say bytes not kilobytes.
Следующее
От: rhaas@postgresql.org (Robert Haas)
Дата:
Сообщение: pgsql: Make AIX suggestions about disabling ipv6 more version-sensitive.