pgsql: Add verification of variable names in pgbench.

From: itagaki(at)postgresql(dot)org (Takahiro Itagaki)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Add verification of variable names in pgbench.
Date: 2010-01-06 01:12:14
Message-ID: 20100106011214.E11C9753FB7@cvs.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Log Message:
-----------
Add verification of variable names in pgbench.

Variables must consist of only alphabets, numerals and underscores.
We had allowed to set variables with invalid names, but could not
refer them in queries.

Thanks to Robert Haas for the review.

Modified Files:
--------------
pgsql/contrib/pgbench:
pgbench.c (r1.94 -> r1.95)
(http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/contrib/pgbench/pgbench.c?r1=1.94&r2=1.95)

Browse pgsql-committers by date

  From Date Subject
Next Message Takahiro Itagaki 2010-01-06 01:30:03 pgsql: Adjust headers to allow pgbench to be built with PGXS.
Previous Message Tom Lane 2010-01-05 23:25:44 pgsql: Add support for doing FULL JOIN ON FALSE.