Robert Haas <robertmhaas@gmail.com> writes:
> Hmm... in fact, what if we just implemented COPY returning text[] for
> a first cut, and forget making it act like a table source for now.
> Then you could COPY to a temp table (with a text[] column) and select
> from there. There's really two separate features here: COPY producing
> text[] rather than a record type, and COPY being embeddable in some
> larger query.
That might be a reasonable way-station ...
regards, tom lane