OSDN Git Service

Add verification of variable names in pgbench.
authorItagaki Takahiro <itagaki.takahiro@gmail.com>
Wed, 6 Jan 2010 01:12:14 +0000 (01:12 +0000)
committerItagaki Takahiro <itagaki.takahiro@gmail.com>
Wed, 6 Jan 2010 01:12:14 +0000 (01:12 +0000)
commit660f532898f4f53a9df26296173268ba073ae8fb
treedf6cc2acee1c4a9a916483bc0f2b5a50e5324d27
parent90f4c2d960a3f3b9d51d8349119f0fbb4c35fc9b
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.
contrib/pgbench/pgbench.c