You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This change adds support for RETURNING * in inserts and deletes. For updates we
currently only expand the updated columns; this is related to an existing
problem (we can't return other columns even explicitly; filed cockroachdb#4645).
Fixescockroachdb#4593.
When doing an
UPDATE
, we should be able to useRETURNING
on other columns:We get an error:
pq: qualified name "a" not found
.Related to this,
RETURNING *
should return all columns in the table, not just the updated ones.This works in pg;
Also related, there is this testcase for
INSERT
:I am not sure if this should work or not (I haven't checked what pg does).
@mjibson
The text was updated successfully, but these errors were encountered: