From: Tom Lane <tgl@sss.pgh.pa.us>
To: Dennis Björklund <db@zigo.dhs.org>
Cc: Joe Conway <mail@joeconway.com>
Cc: Hans Spaans <pgsql-admin@lists.hansspaans.nl>
Cc: pgsql-admin@postgresql.org
Cc: pgsql-hackers@postgresql.org
Subject: Re: concat_ws
Date: Mon, 04 Aug 2003 09:26:25 -0400
Message-ID: <24897.1060003585@sss.pgh.pa.us> (raw)
In-Reply-To: <Pine.LNX.4.44.0308040737460.26410-100000@zigo.dhs.org>
References: <Pine.LNX.4.44.0308040737460.26410-100000@zigo.dhs.org>
=?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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-admin@postgresql.org
Cc: tgl@sss.pgh.pa.us, db@zigo.dhs.org, mail@joeconway.com, pgsql-admin@lists.hansspaans.nl, pgsql-hackers@postgresql.org
Subject: Re: concat_ws
In-Reply-To: <24897.1060003585@sss.pgh.pa.us>
References: <Pine.LNX.4.44.0308040737460.26410-100000@zigo.dhs.org> <24897.1060003585@sss.pgh.pa.us>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox