Re: How to call table returning function with other table

Поиск
Список
Период
Сортировка
От Markus Bertheau
Тема Re: How to call table returning function with other table
Дата
Msg-id 684362e10603190532p1903fca8p@mail.gmail.com
обсуждение исходный текст
Ответ на How to call table returning function with other table  (Svenne Krap <svenne@krap.dk>)
Ответы Re: How to call table returning function with other table  (Svenne Krap <svenne@krap.dk>)
Список pgsql-sql
2006/3/19, Svenne Krap <svenne@krap.dk>:

> So it is something like "select xxx(id) from othertable where otherwhere
> = 't'" except that it mangles the columns into an array. I have tried to
> move the function-call into the fromlist (as it is usually done) but I
> seem unsuccessful in getting the ID's into it.

You have to use something like SELECT (xxx(id)).* FROM othertable
WHERE otherwhere = 't', I believe.

Markus Bertheau


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

Предыдущее
От: Svenne Krap
Дата:
Сообщение: How to call table returning function with other table
Следующее
От: Svenne Krap
Дата:
Сообщение: Re: How to call table returning function with other table