From e0ba132bce735a5c429fa2280ce90d99fb02ae10 Mon Sep 17 00:00:00 2001 From: Phantasm Date: Tue, 26 Nov 2024 14:53:02 +0100 Subject: [PATCH] docs openbsd: ensure db has UTF-8 enconding --- docs/installation/openbsd_en.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/installation/openbsd_en.md b/docs/installation/openbsd_en.md index 45cd03a9a..cf3dee5e3 100644 --- a/docs/installation/openbsd_en.md +++ b/docs/installation/openbsd_en.md @@ -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.