mirror of
https://github.com/zitadel/zitadel.git
synced 2025-08-11 18:57:32 +00:00
docs(10016): cockroach compatibility (#10010)
# Which Problems Are Solved If the sql statement of technical advisory 10016 gets executed on cockroach the following error is raised: ``` ERROR: WITH clause "fixed" does not return any columns SQLSTATE: 0A000 HINT: missing RETURNING clause? ``` # How the Problems Are Solved Fixed the statement by adding `returning` to statement
This commit is contained in:
@@ -78,6 +78,7 @@ with
|
|||||||
and s.aggregate_id = b.aggregate_id
|
and s.aggregate_id = b.aggregate_id
|
||||||
and s.aggregate_type = b.aggregate_type
|
and s.aggregate_type = b.aggregate_type
|
||||||
and s.sequence = b.sequence
|
and s.sequence = b.sequence
|
||||||
|
returning *
|
||||||
)
|
)
|
||||||
select
|
select
|
||||||
b.projection_name,
|
b.projection_name,
|
||||||
|
Reference in New Issue
Block a user