Re: PL/pgSQL: How to return two columns and multiple rows

Поиск
Список
Период
Сортировка
От Sven Geggus
Тема Re: PL/pgSQL: How to return two columns and multiple rows
Дата
Msg-id mlupu0$3mt$1@solar.geggus.net
обсуждение исходный текст
Ответ на PL/pgSQL: How to return two columns and multiple rows  (Sven Geggus <lists@fuchsschwanzdomain.de>)
Ответы Re: PL/pgSQL: How to return two columns and multiple rows  ("David G. Johnston" <david.g.johnston@gmail.com>)
Список pgsql-general
David G. Johnston <david.g.johnston@gmail.com> wrote:

> Assuming you are on 9.3+ what you want to use is LATERAL

OK, how is such a query supposed to look like?

assuming "select myfunc(col1,col2) from mytable" works as the inner select?

Sven

--
Software patents are the software project equivalent of land mines: Each
design decision carries a risk of stepping on a patent, which can destroy
your project. (Richard M. Stallman)
/me is giggls@ircnet, http://sven.gegg.us/ on the Web

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

Предыдущее
От: Alvaro Herrera
Дата:
Сообщение: Re: PL/pgSQL: How to return two columns and multiple rows
Следующее
От: "David G. Johnston"
Дата:
Сообщение: Re: PL/pgSQL: How to return two columns and multiple rows