[docs] fix postgres create database command (#2071)

The current command `create database gotosocial with locale C.UTF-8 template template0;` fails because the locale has to be quoted:
```
postgres=# create database gotosocial with locale C.UTF-8 template template0;
ERROR:  syntax error at or near "."
LINE 1: create database gotosocial with locale C.UTF-8 template temp...
```

Tested manually that it works with the quotes and the official postgres examples also use quotes around the locales: https://www.postgresql.org/docs/current/sql-createdatabase.html
This commit is contained in:
Max Rosin 2023-08-06 11:54:07 +02:00 committed by GitHub
parent 9a291dea84
commit 7f1f2b80ea
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -37,7 +37,7 @@ Then you should have already created database `gotosocial` in Postgres, and give
The psql commands to do this will look something like:
```psql
create database gotosocial with locale C.UTF-8 template template0;
create database gotosocial with locale 'C.UTF-8' template template0;
create user gotosocial with password 'some_really_good_password';
grant all privileges on database gotosocial to gotosocial;
```