Skip to main content

PostgreSQL Connector

PostgreSQL Query and manage data in a PostgreSQL database

Connections

PostgreSQL Connection

Authenticate requests to a PostgreSQL server.

InputCommentsDefault
HostProvide the string value for the host of the server.
PortThe port of the PostgreSQL server.5432
DatabaseThe database in PostgreSQL
Username
Password
Require SSLRequire SSL for the connection to the PostgreSQL serverfalse
Connection TimeoutThe amount of time (in milliseconds) to wait for a connection to be established before timing out. Default is 5000ms.5000

Triggers

New and Updated Records to Table

Checks for new and updated records to a table

InputCommentsDefault
Connection
Table Name
Cursor FieldA field that is used to track new results. If your table has an auto incrementing integer ID, you can use the ID. If it has a 'created at' or 'updated at' timestamp, you can use those. Each time this trigger runs, it checks for records with values that are greater than the largest value from last time it was run.updated_at
Cast timestamps to stringsSelect this option if your cursor field is a timestamp. PostgreSQL tracks microseconds, but JavaScript dates are measured in milliseconds. When fetching TIME, TIMETZ, TIMESTAMP, TIMESTAMPTZ fields, some precision can be lost. By casting timestamp values to strings, you can retain precision.true

Actions

Query

Performs a query on a PostgreSQL database.

InputCommentsDefault
Query FieldThe query to be executed
Named ParametersOptional named parameters to insert into a query.
Parameters Object or ArrayOptional parameters to insert into a query. This should be a key-value object if you are using named inputs (i.e. ${name}), or an array if using index variables (i.e. $2) in your query. Values from this object will be merged with Named Parameters inputs if you are using named variables.
Connection
Debug QueryEnabling this flag will log out the query before being sent.false