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

DELETE RETURNING not supported on AO tables #5489

Open
hlinnaka opened this issue Aug 14, 2018 · 0 comments

Comments

Projects
None yet
3 participants
@hlinnaka
Copy link
Member

commented Aug 14, 2018

As discussed on issue #4735, DELETE RETURNING is not currently supported on AO tables:

create table t2 (c1 text, c2 int) WITH (appendonly=true, orientation=column) distributed randomly;
insert into t2 values ('bob', 22), ('bill', 23) returning c2;
delete from t2 where c1 = 'bob' returning * ;

After PR #5488, that produces a "not supported" error:

ERROR:  DELETE RETURNING is not supported on appendonly tables  (seg2 slice1 127.0.0.1:40002 pid=6618)

This issue is to track actually implementing it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.