3838In the PostgreSQL command-line shell, type:
3939
4040``` sql
41- CREATE USER compass WITH SUPERUSER LOGIN PASSWORD ' <mypassword>' ;
41+ CREATE USER compass WITH CREATEDB LOGIN PASSWORD ' <mypassword>' ;
4242```
4343
4444You 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.
4747This was the most basic way to set up access to the database. In case of a live,
4848production, public server, certain other measures need to be taken to ensure
4949secure 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 )
5151 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 )
5353
5454The databases inside PostgreSQL instance will be created automatically by the
5555CodeCompass 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,
7070and your user only. No extra user creation or configuration needs to take place.
7171
7272For 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 )
7474 (` -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 )
7676
7777## 1. Generate compilation database
7878If you want to parse a C++ project, you have to create a [ compilation database
0 commit comments