Pavel Stehule <[email protected]> writes: > pá 22. 1. 2021 v 14:41 odesílatel <[email protected]> napsal: >> ERROR: syntax error at or near "DISTINCT" >> LINE 8: _test := DISTINCT a FROM ( VALUES ( (true), ( true ) ) )...
> Using DISTINCT is not a good solution.
Yeah. It wouldn't be as painful to support this in the grammar
as it would be for UNION et al, so maybe we should just do it.
But I still find this to be mighty ugly plpgsql code.
regards, tom lane
