Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Postgres Node has error on Composite Key "Insert or Update" #12394

Open
justin-salesduo opened this issue Dec 30, 2024 · 1 comment
Open

Postgres Node has error on Composite Key "Insert or Update" #12394

justin-salesduo opened this issue Dec 30, 2024 · 1 comment
Labels
in linear Issue or PR has been created in Linear for internal review

Comments

@justin-salesduo
Copy link

Bug Description

On Composite Key selected for "Insert or Update" DO UPDATE SET defaults to blank instead of the selected values.

image

To Reproduce

  1. Go to Postgres Node
  2. Select "Insert or Update"
  3. Choose multiple columns to match on

Expected behavior

It should update both keys in the event of same composite key, but insert if it is a new unique composite key

Operating System

Ubuntu Linux 22.04

n8n Version

1.72.1

Node.js Version

18.16.0

Database

SQLite (default)

Execution mode

main (default)

@Joffcom
Copy link
Member

Joffcom commented Dec 30, 2024

Hey @justin-salesduo,

We have created an internal ticket to look into this which we will be tracking as "N8N-8020"

@Joffcom Joffcom added the in linear Issue or PR has been created in Linear for internal review label Dec 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
in linear Issue or PR has been created in Linear for internal review
Projects
None yet
Development

No branches or pull requests

2 participants