n8n/packages/nodes-base/nodes/Postgres
Omar Ajoue 41669c0e0f
Add options to run queries as transactions (#1612)
* add multi return

* add independently and transaction to query

* pgInsert normal and transaction

* independently for pgInsert

* normal, transaction and independently for pgUpdate

* cleanup

* implement it in other nodes

* multiple fixes

* add optional returning support

* clean up Postgres functions

* fix other postgres based dbs

* Added option to run queries as a transaction to Postgres

This commit allows users to configure Postgres, CrateDB, TimescaleDB and
QuestDB to run queries independently or as transactions as well as the
previous mode which is to execute multiple queries at once.

Previous behavior remains untouched so we only added new options.

* Standardize behavior across nodes that use postgres protocol

Also fixed unit tests.

* Added breaking change notice

* Added more information to breaking changes

*  Styling fixes

Co-authored-by: lublak <lublak.de@gmail.com>
Co-authored-by: Jan Oberhauser <jan.oberhauser@gmail.com>
2021-04-24 22:55:14 +02:00
..
Postgres.node.functions.ts Add options to run queries as transactions (#1612) 2021-04-24 22:55:14 +02:00
Postgres.node.json Add new codex files and fix previous files (#1608) 2021-04-10 10:18:10 +02:00
Postgres.node.ts Add options to run queries as transactions (#1612) 2021-04-24 22:55:14 +02:00
postgres.png Optimize integration icon images 2020-02-05 17:35:16 -08:00