docs openbsd: ensure db has UTF-8 enconding
This commit is contained in:
parent
b0721ddbf5
commit
e0ba132bce
1 changed files with 1 additions and 1 deletions
|
|
@ -41,7 +41,7 @@ Switch to the \_postgresql user and initialize PostgreSQL:
|
||||||
|
|
||||||
```
|
```
|
||||||
# su _postgresql
|
# su _postgresql
|
||||||
$ initdb -D /var/postgresql/data -U postgres
|
$ initdb -D /var/postgresql/data -U postgres --encoding=utf-8 --lc-collate=C
|
||||||
```
|
```
|
||||||
|
|
||||||
Running PostgreSQL in a different directory than `/var/postgresql/data` requires changing the `daemon_flags` variable in the `/etc/rc.d/postgresql` script.
|
Running PostgreSQL in a different directory than `/var/postgresql/data` requires changing the `daemon_flags` variable in the `/etc/rc.d/postgresql` script.
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue