From: Mendola Gaetano <mendola@bigfoot.com>
To: pgsql-admin@postgresql.org
Cc: Tom Lane <tgl@sss.pgh.pa.us>
Subject: Re: concat_ws
Date: Mon, 4 Aug 2003 01:20:21 +0200
Message-ID: <005b01c35a15$cfbd7960$10d4a8c0@mm.eutelsat.org> (raw)
References: <20030803131931.GD4326@sch01r01.nexit.nl>
<26941.1059926135@sss.pgh.pa.us>
<3F2D4B3B.3050405@joeconway.com>
<6571.1059934474@sss.pgh.pa.us>
<3F2D84FF.3070304@joeconway.com>
<1680.1059949492@sss.pgh.pa.us>
"Tom Lane" <tgl@sss.pgh.pa.us> wrote:
> Joe Conway <mail@joeconway.com> writes:
> > Tom Lane wrote:
> >> It seems to be running out of memory.
>
> > Also worth noting, without STRICT, even a plain EXPLAIN *without*
> > ANALYZE causes the problem to show itself.
>
> Yeah. The problem is that the SQL function inliner generates an
> enormous expression tree from this function definition. 7.3 had no
> inliner so no problem.
>
> I am not sure what to do about it --- the only idea that comes to mind
> is to put an arbitrary limit (of, say, 5 or 10 function calls) on the
> depth of inlining expansion. That seems like a pretty ugly answer
> ... anyone have a better one?
Please no one tell to add another ugly parameter on postgresql.conf
My cent.
Regards
Gaetano Mendola
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: mendola@bigfoot.com, tgl@sss.pgh.pa.us
Subject: Re: concat_ws
In-Reply-To: <005b01c35a15$cfbd7960$10d4a8c0@mm.eutelsat.org>
References: <20030803131931.GD4326@sch01r01.nexit.nl> <26941.1059926135@sss.pgh.pa.us> <3F2D4B3B.3050405@joeconway.com> <6571.1059934474@sss.pgh.pa.us> <3F2D84FF.3070304@joeconway.com> <1680.1059949492@sss.pgh.pa.us> <005b01c35a15$cfbd7960$10d4a8c0@mm.eutelsat.org>
* 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