mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-22 00:06:12 -05:00
Note the privs required by PostgreSQL user sourcing test init scripts
This commit is contained in:
parent
474aefe108
commit
1ee0c36e79
@ -40,16 +40,18 @@ The test database must be initialized using the sql-scripts:
|
||||
|
||||
tests/testdata/provider/testdata_pg*.sql
|
||||
|
||||
They take care of activating PostGIS and creating some tables containing
|
||||
test data.
|
||||
They take care of creating database test users, activating PostGIS
|
||||
and creating some tables containing test data. For this reason the
|
||||
database role running them needs to have privileges to perform
|
||||
those operations.
|
||||
|
||||
For convenience, a shell script is provided to create the database
|
||||
and initialize it as needed:
|
||||
|
||||
tests/testdata/provider/testdata_pg.sh
|
||||
|
||||
Some tests will attempt to create database users too and expect them to
|
||||
be allowed to connect using a password.
|
||||
Some tests will attempt to create database users too and expect them
|
||||
to be allowed to connect using a password.
|
||||
Most PostgreSQL installation by default use "ident" authentication
|
||||
model when connecting via unix sockets. Make sure the `qgis_test`
|
||||
service (or your `QGIS_PGTEST_DB` connection string) uses a connection
|
||||
|
Loading…
x
Reference in New Issue
Block a user