Re: plpgsql arrays

Поиск
Список
Период
Сортировка
От Robert Haas
Тема Re: plpgsql arrays
Дата
Msg-id 603c8f070904030647u1c92e13ew53612ac0011ed7c1@mail.gmail.com
обсуждение исходный текст
Ответ на plpgsql arrays  (Matthew Wakeling <matthew@flymine.org>)
Ответы Re: plpgsql arrays  (Matthew Wakeling <matthew@flymine.org>)
Список pgsql-performance
On Fri, Apr 3, 2009 at 9:32 AM, Matthew Wakeling <matthew@flymine.org> wrote:
> I'm writing a plpgsql function that effectively does a merge join on the
> results of two queries. Now, it appears that I cannot read the results of
> two queries as streams in plpgsql, so I need to copy the contents of one
> query into an array first, and then iterate over the second query
> afterwards.

Why not just use SQL to do the join?

...Robert

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

Предыдущее
От: Robert Haas
Дата:
Сообщение: Re: Rewriting using rules for performance
Следующее
От: Matthew Wakeling
Дата:
Сообщение: Re: Rewriting using rules for performance