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:
Silvan
2025-06-02 17:29:56 +02:00
committed by GitHub
parent b46c41e4bf
commit b3d22dba05

View File

@@ -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,