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:
@ -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
|
||||
|
Reference in New Issue
Block a user