"Joel Jacobson" <j...@compiler.org> writes: > On Tue, Mar 9, 2021, at 10:18, Pavel Stehule wrote: >> you can do unnest(array1, array2, ...)
> Right, I had forgotten about that variant. > But isn't this a bit surprising then: > ... > Should there be an entry there showing the VARIADIC anyelement version as > well? No, because there's no such pg_proc entry. Multi-argument UNNEST is special-cased by the parser, cf transformRangeFunction(). (Which is something I'd momentarily forgotten. Forget my suggestion that we could define unnest(anyarray, int) ... it has to be another name.) regards, tom lane