Re: BUG #14843: CREATE TABLE churns through all memory, crashes db

From: Andres Freund <andres(at)anarazel(dot)de>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Michael Paquier <michael(dot)paquier(at)gmail(dot)com>, ropeladder(at)gmail(dot)com, PostgreSQL mailing lists <pgsql-bugs(at)postgresql(dot)org>
Subject: Re: BUG #14843: CREATE TABLE churns through all memory, crashes db
Date: 2017-10-06 18:27:15
Message-ID: 20171006182715.g7u3pnr4vkzqgthu@alap3.anarazel.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

On 2017-10-06 14:18:57 -0400, Tom Lane wrote:
> Andres Freund <andres(at)anarazel(dot)de> writes:
> > It's "just" a MemoryContextSwitchTo() that some idiot^WI forgot and
> > reviews didn't spot.
>
> Yeah, I had just come to the same conclusion. I have a fix about ready
> to commit, unless you're nearly there ...

Please go ahead in that case.

Thanks,

Andres

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message Tom Lane 2017-10-06 18:30:35 Re: json(b)_array_elements use causes very large memory usage when also referencing entire json document
Previous Message Lucas Fairchild-Madar 2017-10-06 18:26:35 json(b)_array_elements use causes very large memory usage when also referencing entire json document