Re: select as params to function

Поиск
Список
Период
Сортировка
От Merlin Moncure
Тема Re: select as params to function
Дата
Msg-id CAHyXU0zghmwVDy1XmUvWqAPNAzKu0C9kL0S3LA9JQWB5BXZxtw@mail.gmail.com
обсуждение исходный текст
Ответ на Re: select as params to function  (Andy Colson <andy@squeakycode.net>)
Ответы Re: select as params to function
Список pgsql-general
On Fri, Feb 17, 2012 at 2:32 PM, Andy Colson <andy@squeakycode.net> wrote:
> On 2/17/2012 2:11 PM, Pavel Stehule wrote:
>>
>> Hello
>>
>> PostgreSQL has no table data type. You can use a array of records instead
>>
>> and then
>>
>> select fx((select array(select * from tab)));

select fx(array(select t from tab t));

fx takes tab[]

merlin

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

Предыдущее
От: Andy Colson
Дата:
Сообщение: Re: select as params to function
Следующее
От: Andy Colson
Дата:
Сообщение: Re: select as params to function