Re: calling functions in select

Поиск
Список
Период
Сортировка
От Jakub Ouhrabka
Тема Re: calling functions in select
Дата
Msg-id Pine.LNX.4.33.0204241111340.22603-100000@u-pl1.ms.mff.cuni.cz
обсуждение исходный текст
Ответ на calling functions in select  (Jakub Ouhrabka <jouh8664@ss1000.ms.mff.cuni.cz>)
Ответы Re: calling functions in select
Список pgsql-general
> 1)
> FOR lr_rec IN SELECT func(table.x, ...) FROM table,... WHERE ... LOOP
> END LOOP;
>
> 2)
> FOR lr_rec IN SELECT * FROM table,... WHERE ... LOOP
>     li_x := func(lr_rec.x, ...);
> END LOOP;

i'll answer myself, it depends on whether func is iscachable or not,
right?

kuba


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