1
0
mirror of https://github.com/postgres/postgres.git synced 2025-07-31 22:04:40 +03:00

Rename pg_regress option --multibyte to --encoding

Also refactor things a little bit so that the same methods for setting
test locale and encoding can be used everywhere.
This commit is contained in:
Peter Eisentraut
2011-04-15 08:42:05 +03:00
parent 98eded936c
commit f536d41942
7 changed files with 25 additions and 30 deletions

View File

@ -221,9 +221,9 @@ gmake check LC_COLLATE=en_US.utf8 LC_CTYPE=fr_CA.utf8
<para>
You can also choose the database encoding explicitly by setting
the variable <envar>MULTIBYTE</envar>, for example:
the variable <envar>ENCODING</envar>, for example:
<screen>
gmake check LANG=C MULTIBYTE=EUC_JP
gmake check LANG=C ENCODING=EUC_JP
</screen>
Setting the database encoding this way typically only makes sense
if the locale is C; otherwise the encoding is chosen automatically