QgsPgNewConnectionBase
0
0
323
384
0
0
Create a New PostGIS connection
true
true
9
6
-
Connection Information
0
5
-
6
0
-
6
0
-
Name
txtName
-
Host
txtHost
-
Database
txtDatabase
-
Port
txtPort
-
SSL mode
-
Username
txtUsername
-
Password
txtPassword
-
6
0
-
Name of the new connection
-
-
-
5432
-
-
-
QLineEdit::Password
-
Restrict the displayed tables to those that are in the geometry_columns table
Restricts the displayed tables to those that are in the geometry_columns table. This can speed up the initial display of spatial tables.
Only look in the geometry_columns table
-
Restrict the search to the public schema for spatial tables not in the geometry_columns table
When searching for spatial tables that are not in the geometry_columns tables, restrict the search to tables that are in the public schema (for some databases this can save lots of time)
Only look in the 'public' schema
-
0
-
Save Username
-
&Test Connect
-
Save Password
-
Use estimated table statistics for the layer metadata.
<html>
<body>
<p>When the layer is setup various metadata is required for the PostGIS table. This includes information such as the table row count, geometry type and spatial extents of the data in the geometry column. If the table contains a large number of rows determining this metadata is time consuming.</p>
<p>By activating this option the following fast table metadata operations are done:</p>
<p>1) Row count is determined from table statistics obtained from running the PostgreSQL table analyse function.</p>
<p>2) Table extents are always determined with the estimated_extent PostGIS function even if a layer filter is applied.</p>
<p>3) If the table geometry type is unknown and is not exclusively taken from the geometry_columns table, then it is determined from the first 100 non-null geometry rows in the table.</p>
</body>
</html>
Use estimated table metadata
-
QDialogButtonBox::Cancel|QDialogButtonBox::Help|QDialogButtonBox::Ok
txtName
txtHost
txtDatabase
txtPort
cbxSSLmode
txtUsername
txtPassword
chkStoreUsername
chkStorePassword
cb_geometryColumnsOnly
cb_publicSchemaOnly
cb_useEstimatedMetadata
btnConnect
buttonBox
buttonBox
rejected()
QgsPgNewConnectionBase
reject()
313
501
451
312
buttonBox
accepted()
QgsPgNewConnectionBase
accept()
395
501
450
287