← All nodes
Output

PostgreSQL Output

Writes the rows that reach it into an existing PostgreSQL table, in one transaction, and passes them on unchanged.

When to use it

Use it to land cleaned or staged rows in PostgreSQL — a reporting table, a staging table for a downstream job.

In a pipeline

Settings

SettingTypeRequiredDefault or hint
ConnectionselectYesAdd a connection below
Target TableselectYesSelect a table
Write Modeselect—append
Key columnsselect—Columns that identify a row

Example

Land staged rows

  • Target Table=staging.orders
  • Write Mode=Append rows
Rows arriving
order_idtotal
1042860
1043312.5
Passed on unchanged; the table now has them too
order_idtotal
1042860
1043312.5

Worth knowing

  • Rows go into the columns whose names match; other columns are ignored, and __ columns are never written.
  • Append rows inserts; Replace existing rows empties the table first (DELETE, inside the same transaction) — if any insert fails, nothing changes.
  • Previews never write: they say how many rows would be written.
  • Upsert updates the rows whose Key columns already exist and adds the rest — native INSERT … ON CONFLICT when the keys have a unique index or primary key, otherwise the incoming keys are deleted first, in the same transaction.

Others in Output