Upload a table into PostgreSQL.

Parameters:
Connection
Table Name
parameters.upsertPostgre.table.placeholder), or pick a value from the combo if you have defined constants/parameters.Operation
Choose what to do and how to do it. The dropdown contains the following families:
Insert
COPY FROM STDIN with CSV. Fast, robust, great for large loads.COPY FROM STDIN BINARY. Fast and preserves numeric precision; requires compatible types.Update
Upsert (insert-else-update)
Delete
Write all columns

Parameters:
Writes rows from the incoming table into a PostgreSQL table.
You can insert, update, delete, or upsert (insert-else-update) and you can choose between several execution techniques (COPY, binary SQL, text SQL). The action also supports column selection, transactions/batching, and optional error reporting.
Define a connection
In Pipeline parameters → Services, add a row in Databases, set Name (e.g., conn_1), choose Driver = PostgreSQL ANSI (or Unicode), then fill Server, Port (5432 by default), DB, User, and Password.
You may store the password as a secret and reference it from the Password cell.
Select it in the box
In upsertPostgre → Standard → Connection name, choose conn_1. Optionally click Inspect database to confirm access.
Target table and operation
Enter the Table Name (or use a pipeline parameter), then pick Operation. For an initial load, prefer insert (CSV Copy).
Column mapping
Leave Write all columns ON for simple inserts. For updates/upserts, turn it OFF and choose only the columns to write.
(Optional) Advanced tuning
Increase the bulk size to speed up large loads, and set a non-zero “inserts per transaction” if you want explicit commit boundaries.
Run
Execute the step and check the Data/Log tabs for status. When error reporting is enabled, the configured status column will contain per-row results.
connection refused / timeouts – Wrong host/port or firewall. Validate reachability from the runner to port 5432.database "X" does not exist – The DB name is wrong; check it with your DBA or by browsing via Inspect database.password authentication failed – Recheck user/password; confirm pg_hba.conf allows your auth method from the runner’s IP.permission denied for relation … – Grant the needed privileges to the service account (INSERT/UPDATE/DELETE as applicable).NUMERIC(p,s) in your staging logic.A. Fast initial load
Operation: insert (CSV Copy)
Write all columns: ON
Bulk size: 10000
Inserts per transaction: 0 (auto-commit)
B. Daily upsert by key
Operation: upsert (SQL – Binary)
Write all columns: OFF → choose only the columns that can change
Bulk size: 2000
Inserts per transaction: 1–5 (small transactions for easy rollback)
C. Delete stale rows
Operation: delete (SQL – Text) or (SQL – Binary)
Write all columns: OFF → select only key columns used in the delete predicate
