From 9137cd5a617079489bbd17de92e7e7e370e87bb3 Mon Sep 17 00:00:00 2001 From: Nico Felbinger Date: Sun, 2 Feb 2025 19:43:18 +0100 Subject: [PATCH] Fix postgresl unix socket example --- docs/installation/choosing_database.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/installation/choosing_database.md b/docs/installation/choosing_database.md index 69dc810e..f4e67ddb 100644 --- a/docs/installation/choosing_database.md +++ b/docs/installation/choosing_database.md @@ -150,9 +150,9 @@ In the `serverVersion` parameter you can specify the version of the PostgreSQL s The `charset` parameter specify the character set of the database. It should be set to `utf8` to ensure that all characters are stored correctly. -If you want to use a unix socket for the connection instead of a TCP connnection, you can specify the socket path in the `unix_socket` parameter. +If you want to use a unix socket for the connection instead of a TCP connnection, you can specify the socket path in the `host` parameter. ```shell -DATABASE_URL="postgresql://db_user:db_password@localhost/db_name?serverVersion=12.19&charset=utf8&unix_socket=/var/run/postgresql/.s.PGSQL.5432" +DATABASE_URL="postgresql://localhost/db_name?serverVersion=16.6&charset=utf8&host=/var/run/postgresql" ```