<h3>Create a new PostGIS connection</h3>
To create a new PostGIS Connection, you need to know the host, port, and your user name/password for the database server.
<h4>Required Parameters</h4>
<ul>
<li><label>Name</label> - a descriptive name for this connection
<li><label>Host</label> - the host name of the database server (eg. madison.qgis.org)
<li><label>Database</label> - name of the database to connect to
<li><label>Port</label> - port that PostgreSQL is listening on. By default this is 5432. If in doubt, check with your database administrator.
<li><label>Username</label> - your database user name
<li><label>Password</label> - your database password
</ul>
<h4>Options</h4>
<ol>
<li><label>Save Password</label> - save your password so you don't have to enter each time. The password is stored in clear text with your QGIS preferences.
<li><label>Only look in the geometry_columns table</label> - 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.
<li><label>Only look in the 'public' schema</label> - this limits the search for layers to the public schema
</ol>
<h4>Testing the Connection</h4>
Clicking on the <label>Test Connection</label> 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.
