Re: unnest
| От | Joe Conway |
|---|---|
| Тема | Re: unnest |
| Дата | |
| Msg-id | 41AB5B2C.1080204@joeconway.com обсуждение исходный текст |
| Ответ на | Re: unnest (Bruce Momjian <pgman@candle.pha.pa.us>) |
| Ответы |
Re: unnest
|
| Список | pgsql-hackers |
Bruce Momjian wrote:
> I assume this is not something for our PostgreSQL CVS, even the later
> SRF implementation.
I agree with that assessment, at least in its present state. For example:
regression=# select * from unnest(array[[1,2,3],[4,5,6]]); unnest
-------- 1 2 3 4 5 6
(6 rows)
Per SQL99 I think that ought to return something like:
-- output faked
regression=# select * from unnest(array[[1,2,3],[4,5,6]]); unnest
-------- {1,2,3} {4,5,6}
(2 rows)
Problem is that a polymorphic SRF cannot (currently at least) both
accept and return type anyarray.
Joe
В списке pgsql-hackers по дате отправления: