Skip to content

Commit

Permalink
Correct init command for Postgres Database (#1243)
Browse files Browse the repository at this point in the history
It seems that the MySQL syntax command was mistakenly copied to the
instructions for Postgres, which uses a different syntax - ref
[here](https://www.postgresql.org/docs/current/sql-createdatabase.html)
for creation syntax, and
[here](https://www.postgresql.org/docs/current/multibyte.html) for
encoding information. I did read through
[here](https://www.postgresql.org/docs/current/collation.html) looking
for an appropriate collation, but they appear to be
installation-specific rather than having a standard set defined in
documentation - I omitted this value (thus setting to the default), and
haven't noted any immediate problems.

Co-authored-by: Joey Orlando <joey.orlando@grafana.com>
  • Loading branch information
scubbo and joeyorlando committed Feb 2, 2023
1 parent 98c2b64 commit 4add163
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion helm/oncall/README.md
Expand Up @@ -205,7 +205,7 @@ database:
type: postgresql

# Make sure to create the database with the following parameters:
# CREATE DATABASE oncall CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci;
# CREATE DATABASE oncall WITH ENCODING UTF8;
externalPostgresql:
host:
port:
Expand Down

0 comments on commit 4add163

Please sign in to comment.