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

From: Michael Paquier <michael(dot)paquier(at)gmail(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Andres Freund <andres(at)anarazel(dot)de>, 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 22:10:39
Message-ID: CAB7nPqTAiSRifqm+RGmOsgaoZNUeNvOhB3u-iT0Xo1MYgFiKmg@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

On Sat, Oct 7, 2017 at 3:18 AM, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> 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 ...

Ah, yes. I see. That makes sense.
--
Michael

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message Jaime Casanova 2017-10-06 22:12:50 Re: How make exceptions in C# .NET with PostgreSQL?
Previous Message Cristian Gómez García 2017-10-06 21:43:44 How make exceptions in C# .NET with PostgreSQL?