Re: Nested query performance issue

Поиск
Список
Период
Сортировка
От Glenn Maynard
Тема Re: Nested query performance issue
Дата
Msg-id d18085b50904091642k2c610f53gbdef921319073683@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Nested query performance issue  (Віталій Тимчишин <tivv00@gmail.com>)
Список pgsql-performance
2009/4/9 Віталій Тимчишин <tivv00@gmail.com>:
> create or replace function explode_array(in_array anyarray) returns setof
> anyelement as
> $$
>     select ($1)[s] from generate_series(1,array_upper($1, 1)) as s;
> $$
> language sql immutable;

I tried using an ARRAY like this, but didn't quite figure out the
explode_array piece.

--
Glenn Maynard

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

Предыдущее
От: Glenn Maynard
Дата:
Сообщение: Re: Nested query performance issue
Следующее
От: Greg Smith
Дата:
Сообщение: Re: Nested query performance issue