From 3b6a9d43dfa245e6f68c9b8a425d45cb5270daa9 Mon Sep 17 00:00:00 2001 From: Sylvestre Ledru Date: Fri, 10 Nov 2017 14:45:31 +0100 Subject: [PATCH] Fix a typo in the doc. It is -c and not -C to execute psql commands --- docs/postgresql_setup.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/postgresql_setup.md b/docs/postgresql_setup.md index 68ab90d211..a8199dc615 100644 --- a/docs/postgresql_setup.md +++ b/docs/postgresql_setup.md @@ -53,7 +53,7 @@ createuser --login --pwprompt codechecker createdb codechecker_config # The newly created user must have privileges on its own database. -psql -C "GRANT ALL PRIVILEGES ON DATABASE codechecker_config TO codechecker;" +psql -c "GRANT ALL PRIVILEGES ON DATABASE codechecker_config TO codechecker;" # Return to your normal shell via: exit @@ -110,7 +110,7 @@ sudo -i -u postgres createdb default_product # The newly created user must have privileges on its own database. -psql -C "GRANT ALL PRIVILEGES ON DATABASE default_product TO codechecker;" +psql -c "GRANT ALL PRIVILEGES ON DATABASE default_product TO codechecker;" ~~~~~~ For a product to be set up by the server, an empty database with rights given