The PostgreSQL connector allows processes to execute SQL statements against a PostgreSQL database.
Use the PostgreSQL connector to retrieve, create, update, and delete data stored in customer-managed PostgreSQL databases. Query results can be used to populate forms, update process variables, validate business data, and integrate workflows with external systems.
The connector is displayed as a rectangle with PostgreSQL logo:
The connector establishes a connection to the configured PostgreSQL database and executes the SQL statement provided by the action. Query parameters are passed separately from the SQL statement using prepared statements. This approach helps protect against SQL injection attacks and promotes secure database access. Depending on the operation, the connector returns query results, affected row counts, database-generated values. These values can be mapped to process variables and used by other workflow elements.
The PostgreSQL connector authenticates using database connection parameters configured at the connector instance level. These settings define how Studio Modeler connects to the target database. For details, see PostgreSQL Connector Configuration Parameters.
The following actions are supported across all database connectors: