n8n/packages
agobrech 4488f93c39
feat: New trigger PostgreSQL (#5495)
* Boilerplate for PostgresTrigger

* Create trigger function as a query

* Add additional fields to customize trigger query

* Add customizable channel name && operation name

* Add concat () for function name

* Add hints and placeholders

* Add resource Locator to trigger postgres

* Add the ability for knowing trigger event

* Throw error for same function name

* Remove console.logs

* Remove schema from Chanel notifcation mode

* Add UUID and save trigger in workflow static data drop function

* Fix bug where wrongfully casted result in pgl

* Correctly drops the resources when manually executing the trigger

* Remove manual execution with special interaction

* Remove console.logs

* ♻️ Move related trigger functions to new file

* fix target using 'schema."tableName"' in quotes

To support targets with Uppercase table names

* Remove static Data and use node id for uuid

* Update deleting of the trigger and function

* Fix regex expression for channel name

* Change to drop cascade the trigger function

* Replace functions on restart if no name has been defined

* Parse payload result

* Improve handling with hyphens in names

* Remove duplicate code and clean up

* Add payload on delete

* Fix rlc

* fixing uppercase tableName

* fix multiple triggers/connections issues

* fixing rlc pgp.end() issues

* unify pgp init db method

* drop trigger only in createTrigger mode

---------

Co-authored-by: Marcus <marcus@n8n.io>
2023-06-07 11:01:57 +02:00
..
@n8n/client-oauth2 🚀 Release 0.230.0 (#6310) 2023-05-24 13:42:39 +02:00
@n8n_io/eslint-config ci: Add rule dangerously-use-html-string-missing (no-changelog) (#6299) 2023-05-24 10:12:41 +02:00
cli refactor(LoneScale List Node)!: Rename to LoneScale (#6337) 2023-06-06 16:13:58 +01:00
core 🚀 Release 0.231.0 (#6344) 2023-05-31 13:55:26 +02:00
design-system fix(editor): Add Set up version control CTA (#6356) 2023-06-06 14:27:26 +02:00
editor-ui fix(editor): Update version control setup CTA tooltip (#6393) 2023-06-06 17:04:17 +02:00
node-dev 🚀 Release 0.231.0 (#6344) 2023-05-31 13:55:26 +02:00
nodes-base feat: New trigger PostgreSQL (#5495) 2023-06-07 11:01:57 +02:00
workflow refactor(editor): Remove user activation modal (no-changelog) (#6361) 2023-06-05 13:47:06 -04:00