The default database encoding has accordingly been set to "UTF8". The database cluster will be initialized with locale "en_US.UTF-8". This user must also own the server process. The files belonging to this database system will be owned by user "postgres". Many lines should now appear on the screen with several ending by. $ initdb -locale=en_US.UTF-8 -E UTF8 -D /var/lib/postgres/data -E encoding for the encoding (which must match the chosen locale).-locale= locale, where locale is to be chosen amongst the system's available locales.However, depending on your settings and use cases this might not be what you want, and you can override the defaults using: ![]() Note that by default, the locale and the encoding for the database cluster are derived from your current environment (using $LANG value). Where -D is the default location where the database cluster must be stored (see #Change default data directory if you want to use a different one). Initial configurationīefore PostgreSQL can function correctly, the database cluster must be initialized: Note: Commands that should be run as the postgres user are prefixed by $ in this article.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |