Re: returning parameters from function

Поиск
Список
Период
Сортировка
От Rikard Pavelic
Тема Re: returning parameters from function
Дата
Msg-id 457ECBD6.3010804@zg.htnet.hr
обсуждение исходный текст
Ответ на Re: returning parameters from function  (Richard Huxton <dev@archonet.com>)
Список pgsql-general
Richard Huxton wrote:
> Rikard Pavelic wrote:
>> I know setof record will do if I explicitly name OUT parameters.
>> But I want Postgre to figure out for himself what parameters to
>> return as out parameters.
>>
>> I don't see why it would make things very ambiguous.
>
> Think about what happens if you use such a function in a join. How
> does the planner know what to do? What about a prepared query?

Good point.

Well, so much about that ;(

Regards,
Rikard

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

Предыдущее
От: Ron Johnson
Дата:
Сообщение: Re: Why DISTINCT ... DESC is slow?
Следующее
От: Tom Lane
Дата:
Сообщение: Re: where can i find posges sql include directory...FC5.installing rpms