We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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 does not recognize Postgres Identity column as auto_increment ID column. https://www.postgresql.org/docs/current/ddl-identity-columns.html
This does not work: create table public.pl_products ( id bigint generated by default as identity not null,
This works:
CREATE TABLE public.pl_products_example_copy ( id bigint NOT NULL DEFAULT nextval('pl_products_example_copy_id_seq'),
Create a postgres table using postgres identity column:
create table public.pl_test ( id bigint generated by default as identity not null ) tablespace pg_default;
Add postgres node in n8n, using insert.
Observe that the column is reported as mandatory, and can't be removed.
Being able to detelete the column, to let postgres generade the new identity value.
Docker
1.71.3
20.18.0
PostgreSQL
queue
The text was updated successfully, but these errors were encountered:
Hey @Thomlov81,
We have created an internal ticket to look into this which we will be tracking as "N8N-7976"
Sorry, something went wrong.
I have the same problem - https://community.n8n.io/t/bug-in-the-postgres-node-with-manual-mapping/64504/
Have the same issue.
No branches or pull requests
Bug Description
Postgres node does not recognize Postgres Identity column as auto_increment ID column.
https://www.postgresql.org/docs/current/ddl-identity-columns.html
This does not work:
create table
public.pl_products (
id bigint generated by default as identity not null,
This works:
CREATE TABLE public.pl_products_example_copy (
id bigint NOT NULL DEFAULT nextval('pl_products_example_copy_id_seq'),
To Reproduce
Create a postgres table using postgres identity column:
create table
public.pl_test (
id bigint generated by default as identity not null
) tablespace pg_default;
Add postgres node in n8n, using insert.
Observe that the column is reported as mandatory, and can't be removed.
Expected behavior
Being able to detelete the column, to let postgres generade the new identity value.
Operating System
Docker
n8n Version
1.71.3
Node.js Version
20.18.0
Database
PostgreSQL
Execution mode
queue
The text was updated successfully, but these errors were encountered: