38
38
In the PostgreSQL command-line shell, type:
39
39
40
40
``` sql
41
- CREATE USER compass WITH SUPERUSER LOGIN PASSWORD ' <mypassword>' ;
41
+ CREATE USER compass WITH CREATEDB LOGIN PASSWORD ' <mypassword>' ;
42
42
```
43
43
44
44
You can exit this shell by typing ` \q ` and pressing the ` ENTER ` key. A user
@@ -47,9 +47,9 @@ with the given name and credentials is now created.
47
47
This was the most basic way to set up access to the database. In case of a live,
48
48
production, public server, certain other measures need to be taken to ensure
49
49
secure access. For full documentation, see:
50
- - Read more about the [ ` CREATE USER ` ] ( https://www.postgresql.org/docs/9.5/static /sql-createuser.html )
50
+ - Read more about the [ ` CREATE USER ` ] ( https://www.postgresql.org/docs/12 /sql-createuser.html )
51
51
command.
52
- - [ PostgreSQL access configuration file] ( https://www.postgresql.org/docs/9.5/static /auth-pg-hba-conf.html )
52
+ - [ PostgreSQL access configuration file] ( https://www.postgresql.org/docs/12 /auth-pg-hba-conf.html )
53
53
54
54
The databases inside PostgreSQL instance will be created automatically by the
55
55
CodeCompass parser, so the user needs rights for adding new database.
@@ -70,9 +70,9 @@ A manually started PostgreSQL server is automatically configured to your user,
70
70
and your user only. No extra user creation or configuration needs to take place.
71
71
72
72
For full documentation see:
73
- - [ Initialize PostgreSQL database] ( https://www.postgresql.org/docs/9.5/static /app-initdb.html )
73
+ - [ Initialize PostgreSQL database] ( https://www.postgresql.org/docs/12 /app-initdb.html )
74
74
(` -E SQL_ASCII ` flag is recommended!)
75
- - [ Start PostgreSQL database] ( https://www.postgresql.org/docs/9.5/static /app-postgres.html )
75
+ - [ Start PostgreSQL database] ( https://www.postgresql.org/docs/12 /app-postgres.html )
76
76
77
77
## 1. Generate compilation database
78
78
If you want to parse a C++ project, you have to create a [ compilation database
0 commit comments