Re: query syntax to combine 2 set returning functions ?

Поиск
Список
Период
Сортировка
От Merlin Moncure
Тема Re: query syntax to combine 2 set returning functions ?
Дата
Msg-id CAHyXU0xp-u7-s+tZcFtwWcoGVwCr90k07jEKzrMNf5x_VwopvA@mail.gmail.com
обсуждение исходный текст
Ответ на Re: query syntax to combine 2 set returning functions ?  (Marc Mamin <M.Mamin@intershop.de>)
Список pgsql-general
On Mon, Mar 4, 2013 at 1:24 AM, Marc Mamin <M.Mamin@intershop.de> wrote:
>>  I can't find the syntax to get the results in multiple columns instaed of a singel 'record' column:
>>  select  get_table_depends('cicpg_logs', t) FROM get_modeltablelist('efeeds') t
>
> I got it:
>
> select  (get_table_depends('cicpg_logs', t)).* FROM get_modeltablelist('efeeds') t
>         ^                                  ^

This is another query that get's simplified through 9.3 LATERAL.  As
you have written the query, get_table_depends will get executed once
for each column that get_table_depends returns.

merlin


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

Предыдущее
От: Vincent Veyron
Дата:
Сообщение: Re: Scalable cluster
Следующее
От: Merlin Moncure
Дата:
Сообщение: Re: out of memory issue