Re: [BUGS] BUG #14843: CREATE TABLE churns through all memory, crashes db - Mailing list pgsql-bugs

From Tom Lane
Subject Re: [BUGS] BUG #14843: CREATE TABLE churns through all memory, crashes db
Date
Msg-id 14908.1507313937@sss.pgh.pa.us
Whole thread Raw
In response to Re: [BUGS] BUG #14843: CREATE TABLE churns through all memory,crashes db  (Andres Freund <andres@anarazel.de>)
Responses Re: [BUGS] BUG #14843: CREATE TABLE churns through all memory,crashes db
Re: [BUGS] BUG #14843: CREATE TABLE churns through all memory,crashes db
List pgsql-bugs
Andres Freund <andres@anarazel.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 ...
        regards, tom lane


-- 
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs

pgsql-bugs by date:

Previous
From: Andres Freund
Date:
Subject: Re: [BUGS] BUG #14843: CREATE TABLE churns through all memory,crashes db
Next
From: Lucas Fairchild-Madar
Date:
Subject: [BUGS] json(b)_array_elements use causes very large memory usage when alsoreferencing entire json document