Re: arrays
От | Tom Lane |
---|---|
Тема | Re: arrays |
Дата | |
Msg-id | 25550.1059352746@sss.pgh.pa.us обсуждение исходный текст |
Ответ на | arrays (ivan <iv@psycho.pl>) |
Ответы |
Re: arrays
Re: arrays |
Список | pgsql-hackers |
ivan <iv@psycho.pl> writes: > declaration is setof record array_to_setof ( anyarray); > i trayed created it like "any" array_to_setof( anyarray) but i had problem > with select. i also trying write setof_to_array as aggregate, but i have > problem with returns type , because aggregate cat have 'anyarray' as > result ;( I think you want to declare it like this: create function array_to_setof(anyarray) returns setof anyelement as ... Joe Conway may already have written something like this --- look in his contrib modules. regards, tom lane
В списке pgsql-hackers по дате отправления: