|
1 | 1 | <!-- |
2 | | -$PostgreSQL: pgsql/doc/src/sgml/ref/initdb.sgml,v 1.32 2004/08/01 06:19:18 momjian Exp $ |
| 2 | +$PostgreSQL: pgsql/doc/src/sgml/ref/initdb.sgml,v 1.33 2005/01/04 00:05:45 momjian Exp $ |
3 | 3 | PostgreSQL documentation |
4 | 4 | --> |
5 | 5 |
|
@@ -54,21 +54,22 @@ PostgreSQL documentation |
54 | 54 | </para> |
55 | 55 |
|
56 | 56 | <para> |
57 | | - <command>initdb</command> initializes the database cluster's |
58 | | - default locale and character set encoding. Some locale categories |
59 | | - are fixed for the lifetime of the cluster, so it is important to |
60 | | - make the right choice when running <command>initdb</command>. |
61 | | - Other locale categories can be changed later when the server is |
62 | | - started. <command>initdb</command> will write those locale |
63 | | - settings into the <filename>postgresql.conf</filename> |
64 | | - configuration file so they are the default, but they can be changed |
65 | | - by editing that file. To set the locale that |
66 | | - <command>initdb</command> uses, see the description of the |
67 | | - <option>--locale</option> option. The character set encoding can |
| 57 | + <command>initdb</command> initializes the database cluster's default |
| 58 | + locale and character set encoding. Some locale categories are fixed |
| 59 | + for the lifetime of the cluster. There is also a performance impact |
| 60 | + in using locales other than <literal>C</> or <literal>POSIX</>. |
| 61 | + Therefore it is important to make the right choice when running |
| 62 | + <command>initdb</command>. Other locale categories can be changed |
| 63 | + later when the server is started. <command>initdb</command> will |
| 64 | + write those locale settings into the |
| 65 | + <filename>postgresql.conf</filename> configuration file so they are |
| 66 | + the default, but they can be changed by editing that file. To set the |
| 67 | + locale that <command>initdb</command> uses, see the description of |
| 68 | + the <option>--locale</option> option. The character set encoding can |
68 | 69 | be set separately for each database as it is created. |
69 | 70 | <command>initdb</command> determines the encoding for the |
70 | 71 | <literal>template1</literal> database, which will serve as the |
71 | | - default for all other databases.To alter the default encoding use |
| 72 | + default for all other databases. To alter the default encoding use |
72 | 73 | the <option>--encoding</option> option. |
73 | 74 | </para> |
74 | 75 |
|
|