Re: concat_ws

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: concat_ws
Дата
Msg-id 24897.1060003585@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: concat_ws  (Dennis Björklund <db@zigo.dhs.org>)
Список pgsql-admin
=?ISO-8859-1?Q?Dennis_Bj=F6rklund?= <db@zigo.dhs.org> writes:
> On Sun, 3 Aug 2003, Tom Lane wrote:
>> I added code to inline_function to stop inlining if a parameter
>> expression to be substituted multiple times has cost greater than
>> 10*cpu_operator_cost (which roughly means that it contains more than
>> 10 operators or functions).

> When is this inlining taking place and what is the logic? I just want to
> make sure that there is no code in pg that will unfold forever, say for
> example for a recursive fac() function. From the above it sounds like that
> might be a problem.

That's already dealt with.  See inline_function() in
src/backend/optimizer/util/clauses.c.

            regards, tom lane

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

Предыдущее
От: Dennis Björklund
Дата:
Сообщение: Re: concat_ws
Следующее
От: "Mendola Gaetano"
Дата:
Сообщение: pg_autovacuum ?