Pavel Stehule <pavel.steh...@gmail.com> writes:
> pá 22. 1. 2021 v 14:41 odesílatel <easter...@verfriemelt.org> 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


Reply via email to