Maptitude GISDK Help |
Establish a connection with PostgreSQL.
PGSQLConnect(array login_info)
Argument |
Contents |
login_info |
Connection information for the PGSQL DB |
Element |
Type |
Contents |
userID |
String |
User identifier |
password |
Boolean |
User password (unhashed) |
server |
Boolean |
Server URL |
loginInfo = {"david@caliper", "pass123", "localhost"}
PGSQLConnect(loginInfo)
Error Type |
Meaning |
Error |
Connection not established, login info is incorrect or user does not have access |
Function |
Summary |
Add layer to map after exporting it to PGSQL spatial database |
|
Add layer to current workspace after exporting it to PGSQL spatial database |
|
Export map data to PGSQL spatial database |
|
Close the connection with PostgreSQL, if it exists |
|
Establish a connection with PostgreSQL |
|
Run an SQL query on the open PGSQL database connection and export results to a file |
|
Retrieve a list of PGSQL databases from the connected database server |
|
Retrieve a list of schemas from a PGSQL database |
|
Retrieve a list of PGSQL spatial databases from the connected database server |
|
Retrieve a list of tables from a PGSQL database |
|
Returns all unique fields from the PGSQL database table, as defined in the table constraints |
|
Run an SQL query on the open PGSQL database connection |
|
Set database as the current selection in the “Open PostgreSQL Table” dialogue box |
|
Set the name of the database schema to be displayed to the user in the “Open PostgreSQL Table” dialogue box |
|
Set the name of the table to be displayed to the user in the “Open PostgreSQL Table” dialogue box |
©2025 Caliper Corporation | www.caliper.com |