docs openbsd: ensure db has UTF-8 enconding

This commit is contained in:
Phantasm 2024-11-26 14:53:02 +01:00
commit e0ba132bce
No known key found for this signature in database
GPG key ID: 2669E588BCC634C8

View file

@ -41,7 +41,7 @@ Switch to the \_postgresql user and initialize 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.