The
PostGIS Connector is used to
define a connection with a specific PostGIS database.
It is
accessed through:
Project > Add Layer > From Data Source... > PostGIS > 
or
Tools > Data Source Explorer... > PostGIS >
To define PostGIS database as a data source, fill at least the
Title and the
Connection Information
needed by PostGIS to establish a connection with the database informed.
As a example, the connection parameters to access a database called "my_db" can be:
- Title = conn_postgis_my_db
- Host Name/IP = xxxx.dpi.inpe.br (or localhost)
- Port = 5432 (the default port used by PostGRES/PostGIS)
- User = postgres
- Password = *******
- Database Name = my_db
- Client Encoding = UTF8
- Press Open to
make this connection available at Data
Source Selector with the same title specified here.
- Press Test to check the parameters used to establish the connection.
Also there is
Advanced
Connections Options
to change same default
parameters. It is possible to hide spatial metadata tables
(spatial_ref_sys, geometry_columns) , define new connection pooling
parameter and so on.