1
0
mirror of https://github.com/postgres/postgres.git synced 2025-06-22 02:52:08 +03:00

Detect locale/encoding mismatch in initdb, or pick a suitable encoding

automatically if none was specified.
This commit is contained in:
Peter Eisentraut
2004-07-14 17:55:10 +00:00
parent bbcee544aa
commit a837ed88b1
5 changed files with 241 additions and 17 deletions

View File

@ -1,5 +1,5 @@
<!--
$PostgreSQL: pgsql/doc/src/sgml/ref/initdb.sgml,v 1.30 2004/06/24 19:26:54 tgl Exp $
$PostgreSQL: pgsql/doc/src/sgml/ref/initdb.sgml,v 1.31 2004/07/14 17:55:09 petere Exp $
PostgreSQL documentation
-->
@ -121,8 +121,8 @@ PostgreSQL documentation
<para>
Selects the encoding of the template database. This will also
be the default encoding of any database you create later,
unless you override it there. The default is
<literal>SQL_ASCII</literal>. The character sets supported by
unless you override it there. The default is derived from the locale, or
<literal>SQL_ASCII</literal> if that does not work. The character sets supported by
the <productname>PostgreSQL</productname> server are described
in <xref linkend="multibyte-charset-supported">.
</para>