mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2024-12-26 04:02:12 +00:00
[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:
parent
9a291dea84
commit
7f1f2b80ea
|
@ -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;
|
||||
```
|
||||
|
|
Loading…
Reference in a new issue