Parcourir la source

Adjusts PostgreSQL commands

Adrien Panay il y a 7 ans
Parent
révision
de8190b736
1 fichiers modifiés avec 5 ajouts et 5 suppressions
  1. 5 5
      doc/database.md

+ 5 - 5
doc/database.md Voir le fichier

@@ -35,13 +35,13 @@ If you changed the file, reload `PostgreSQL`:
35 35
 ##### With `psql`, the `PostgreSQL` interactive terminal
36 36
 
37 37
     sudo --user=postgres psql \
38
-         --command='CREATE USER tracimuser WITH PASSWORD tracimpassword;' \
39
-         --command='CREATE DATABASE tracimdb OWNER TO tracimuser;'
40
-[//]: # (The following lines should only be necessary to fix permissions on an existing database:)
38
+         --command="CREATE USER tracimuser WITH PASSWORD 'tracimpassword';" \
39
+         --command="CREATE DATABASE tracimdb OWNER tracimuser;"
40
+[//]: # (The following lines are only necessary to fix permissions on an existing database:)
41 41
 [//]: # (    sudo --user=postgres psql \)
42 42
 [//]: # (         --dbname=tracimdb \)
43
-[//]: # (         --command='GRANT ALL PRIVILEGES ON DATABASE tracimdb TO tracimuser;' \)
44
-[//]: # (         --command='GRANT ALL PRIVILEGES ON ALL TABLES IN SCHEMA public TO tracimuser;')
43
+[//]: # (         --command="GRANT ALL PRIVILEGES ON DATABASE tracimdb TO tracimuser;" \)
44
+[//]: # (         --command="GRANT ALL PRIVILEGES ON ALL TABLES IN SCHEMA public TO tracimuser;")
45 45
 
46 46
 ##### With `pgtool`
47 47