Skip to main content
Version: 2.2-dev

PostgreSQL Nodes

PostgreSQL is a production-grade relational database with advanced features. MaestroHub provides seamless integration for queries, inserts, updates, and complex transactions using connector nodes.

Configuration Quick Reference

FieldWhat you chooseDetails
ParametersConnection, Function, Function Parameters, Timeout OverrideSelect the connection profile, function, configure function parameters with expression support, and optionally override timeout.
SettingsDescription, Timeout (seconds), Retry on Timeout, Retry on Fail, On ErrorNode description, maximum execution time, retry behavior on timeout or failure, and error handling strategy. All execution settings default to pipeline-level values.

Node Types

PostgreSQL connector provides three specialized node types for different operation patterns:

NodePurposeCommon Use Cases
QueryExecute SELECT queries and return structured rowsReporting dashboards, data lookups, KPI calculations
ExecuteExecute DML/DDL statements, return rows affectedINSERT/UPDATE/DELETE statements, schema changes, stored procedures
WriteLoad pipeline data into a table with auto schema detectionBulk sensor ingestion, auto-create tables, data loading from upstream nodes

PostgreSQL Query node configuration

PostgreSQL Query Node

PostgreSQL Query Node

Execute SQL SELECT queries and return rows as structured data. Supports parameterized queries with $1 style placeholders.

Supported Function Types:

Function NamePurposeCommon Use Cases
QueryRun parameterized SELECT queries against PostgreSQLReporting dashboards, data lookups, aggregated KPI calculations

PostgreSQL Execute node configuration

PostgreSQL Execute Node

PostgreSQL Execute Node

Execute DML/DDL statements (INSERT, UPDATE, DELETE, CREATE, ALTER, DROP) and return rowsAffected. Use for data modifications and schema changes.

Supported Function Types:

Function NamePurposeCommon Use Cases
ExecuteRun any DML/DDL statement or stored procedure callData modifications, schema migrations, maintenance tasks

PostgreSQL Write node configuration

PostgreSQL Write Node

PostgreSQL Write Node

Load pipeline data into a PostgreSQL table with automatic schema detection. Auto mode detects the table schema and maps incoming data fields to columns; Manual mode lets you specify exact columns. Supports batching, auto table creation, and schema evolution.

Supported Function Types:

Function NamePurposeCommon Use Cases
WriteLoad structured data into a PostgreSQL tableBulk sensor ingestion, auto-create tables from pipeline data, data loading