Re: array/function question

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема Re: array/function question
Дата
Msg-id 20090519125228.GB6471@alvh.no-ip.org
обсуждение исходный текст
Ответ на Re: array/function question  (Pavel Stehule <pavel.stehule@gmail.com>)
Ответы Re: array/function question  (Pavel Stehule <pavel.stehule@gmail.com>)
Список pgsql-general
Pavel Stehule escribió:

> postgres=# create or replace function xx(anyarray, anyarray) returns
> bool[] as $$
> select array(select (select x = any(select y from unnest($2) g2(y)))
> from unnest($1) g(x))
> $$ language sql immutable;
> CREATE FUNCTION

There ain't no unnest() function in 8.3 ...

--
Alvaro Herrera                                http://www.CommandPrompt.com/
PostgreSQL Replication, Consulting, Custom Development, 24x7 support

В списке pgsql-general по дате отправления:

Предыдущее
От: Alvaro Herrera
Дата:
Сообщение: Re: array/function question
Следующее
От: Tom Lane
Дата:
Сообщение: Re: INTERVAL data type and libpq - what format?