Create a new PostGIS connection

To create a new PostGIS Connection, you need to know the host, port, and your user name/password for the database server.

Required Parameters

Options

  1. - save your password so you don't have to enter each time. The password is stored in clear text with your QGIS preferences.
  2. - normally QGIS examines every table in the database to see if it has a geometry column and if so, adds it to the list of layers. Checking this box tells QGIS to only list layer that have been "registered" and have an entry in the geometry_columns table.
  3. - this limits the search for layers to the public schema

Testing the Connection

Clicking on the button initiates a connect attempt to the database using the parameters you specified. This is a good way to check the connection parameters prior to saving the connection.