From: Tom Lane <tgl@sss.pgh.pa.us>
To: Andres Freund <andres@anarazel.de>
Cc: pgsql-bugs@lists.postgresql.org
Cc: amdmi3@amdmi3.ru
Subject: Re: BUG #15592: Memory overuse with subquery containing unnest() and set operations (11.x regression)
Date: Mon, 14 Jan 2019 11:50:27 -0500
Message-ID: <27372.1547484627@sss.pgh.pa.us> (raw)
In-Reply-To: <3935CFAF-8FD4-459E-B13F-67DFEE852028@anarazel.de>
References: <15592-cc5729f9ba02e31c@postgresql.org>
<26375.1547483080@sss.pgh.pa.us>
<3935CFAF-8FD4-459E-B13F-67DFEE852028@anarazel.de>
Andres Freund <andres@anarazel.de> writes:
> On January 14, 2019 8:24:40 AM PST, Tom Lane <tgl@sss.pgh.pa.us> wrote:
>> Ugh. Something is creating ExprContexts and not freeing them --- a
>> memory context dump taken at ExecutorEnd shows
> Think I know where the problem is - let me have a coffee and check? I think I might have a good lying around...
I had just determined that the extra context was added by bf6c614a2,
which at this point has accumulated a pretty serious collection of
bugs, judging by subsequent mentions in the commit log.
I'm inclined to think that entire patch needs review.
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-bugs@postgresql.org
Cc: tgl@sss.pgh.pa.us, andres@anarazel.de, amdmi3@amdmi3.ru
Subject: Re: BUG #15592: Memory overuse with subquery containing unnest() and set operations (11.x regression)
In-Reply-To: <27372.1547484627@sss.pgh.pa.us>
References: <15592-cc5729f9ba02e31c@postgresql.org> <26375.1547483080@sss.pgh.pa.us> <3935CFAF-8FD4-459E-B13F-67DFEE852028@anarazel.de> <27372.1547484627@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