From: | tgl(at)postgresql(dot)org (Tom Lane) |
---|---|
To: | pgsql-committers(at)postgresql(dot)org |
Subject: | pgsql: Fix thinko in tok_is_keyword(): it was looking at the wrong union |
Date: | 2010-06-25 16:40:13 |
Message-ID: | 20100625164013.571077541D4@cvs.postgresql.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | 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)
From | Date | Subject | |
---|---|---|---|
Next Message | Robert Haas | 2010-06-25 16:55:49 | pgsql: Make AIX suggestions about disabling ipv6 more version-sensitive. |
Previous Message | Simon Riggs | 2010-06-25 15:11:03 | Re: [COMMITTERS] pgsql: Fix log_temp_files docs and comments to say bytes not kilobytes. |