From: Tom Lane Date: Mon, 4 Sep 2017 17:45:20 +0000 (-0400) Subject: Adjust pgbench to allow non-ASCII characters in variable names. X-Git-Tag: REL_11_BETA1~1683 X-Git-Url: http://git.postgresql.org/gitweb/?a=commitdiff_plain;h=9d36a386608d7349964e76120e48987e3ec67d04;p=postgresql.git Adjust pgbench to allow non-ASCII characters in variable names. This puts it in sync with psql's notion of what is a valid variable name. Like psql, we document that "non-Latin letters" are allowed, but actually any non-ASCII character is accepted. Fabien Coelho Discussion: https://postgr.es/m/20170405.094548.1184280384967203518.t-ishii@sraoss.co.jp --- diff --git a/doc/src/sgml/ref/pgbench.sgml b/doc/src/sgml/ref/pgbench.sgml index 03e1212d50a..f5db8d18d32 100644 --- a/doc/src/sgml/ref/pgbench.sgml +++ b/doc/src/sgml/ref/pgbench.sgml @@ -771,6 +771,8 @@ pgbench options dbname There is a simple variable-substitution facility for script files. + Variable names must consist of letters (including non-Latin letters), + digits, and underscores. Variables can be set by the command-line