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

sql: crash with large UPSERT with RETURNING #54465

Closed
yuzefovich opened this issue Sep 16, 2020 · 1 comment · Fixed by #54478
Closed

sql: crash with large UPSERT with RETURNING #54465

yuzefovich opened this issue Sep 16, 2020 · 1 comment · Fixed by #54478
Assignees
Labels
C-bug Code not up to spec/doc, specs & docs deemed correct. Solution expected to change code/behavior.

Comments

@yuzefovich
Copy link
Member

CREATE TABLE t (c INT PRIMARY KEY);
UPSERT INTO t SELECT i FROM generate_series(1, 10001) AS i RETURNING c;

leads to a crash.

It is present on 20.2 and master branches.

@yuzefovich yuzefovich added the C-bug Code not up to spec/doc, specs & docs deemed correct. Solution expected to change code/behavior. label Sep 16, 2020
@yuzefovich yuzefovich self-assigned this Sep 16, 2020
@yuzefovich
Copy link
Member Author

Adding a release-blocker label. cc @asubiotto

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-bug Code not up to spec/doc, specs & docs deemed correct. Solution expected to change code/behavior.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant