pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Andres Freund <andres@anarazel.de>
Cc: Lucas Fairchild-Madar <lucas.madar@gmail.com>
Cc: pgsql-bugs@postgresql.org
Subject: Re: json(b)_array_elements use causes very large memory usage when also referencing entire json document
Date: Sun, 08 Oct 2017 16:27:51 -0400
Message-ID: <13436.1507494471@sss.pgh.pa.us> (raw)
In-Reply-To: <20171008200721.sajiwovr5u2u3hqv@alap3.anarazel.de>
References: <CAJmoq7OmXJ_G87D_He5j9kRSraANsuV7Oatxg3bhMsuawvOJ3Q@mail.gmail.com>
	<2376.1507315734@sss.pgh.pa.us>
	<CAJmoq7MKcfk2+X8A5OeQqedg9rypGoesOOg2pJQ3SzfNBE22TA@mail.gmail.com>
	<4514.1507318623@sss.pgh.pa.us>
	<20171007002116.2fqr6z26byhsjwoe@alap3.anarazel.de>
	<2219.1507336101@sss.pgh.pa.us>
	<20171007022633.kckfl2g7mnmtap2c@alap3.anarazel.de>
	<7739.1507343737@sss.pgh.pa.us>
	<20171007024205.3p6idiqexbmik4cs@alap3.anarazel.de>
	<20171007040843.zqf4oerahz5mxrp3@alap3.anarazel.de>
	<20171008200721.sajiwovr5u2u3hqv@alap3.anarazel.de>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>

Andres Freund <andres@anarazel.de> writes:
> On 2017-10-06 21:08:43 -0700, Andres Freund wrote:
>> I'm kinda tempted to put this, after a bit more testing, into v10.

> Any opinions on that?

I think it's fine to put it in HEAD.  I would not risk back-patching
into v10.  Now that we fixed the new leak, v10 is on par with the last
umpteen years worth of tSRF behavior, and we've not had very many
complaints about that.

			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



view thread (23+ messages)  latest in thread

Message-ID: <13436.1507494471@sss.pgh.pa.us>
Permalink:  ../13436.1507494471@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/13436.1507494471@sss.pgh.pa.us

 · 

reply

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, lucas.madar@gmail.com
  Subject: Re: json(b)_array_elements use causes very large memory usage when also referencing entire json document
  In-Reply-To: <13436.1507494471@sss.pgh.pa.us>
  References: <CAJmoq7OmXJ_G87D_He5j9kRSraANsuV7Oatxg3bhMsuawvOJ3Q@mail.gmail.com> <2376.1507315734@sss.pgh.pa.us> <CAJmoq7MKcfk2+X8A5OeQqedg9rypGoesOOg2pJQ3SzfNBE22TA@mail.gmail.com> <4514.1507318623@sss.pgh.pa.us> <20171007002116.2fqr6z26byhsjwoe@alap3.anarazel.de> <2219.1507336101@sss.pgh.pa.us> <20171007022633.kckfl2g7mnmtap2c@alap3.anarazel.de> <7739.1507343737@sss.pgh.pa.us> <20171007024205.3p6idiqexbmik4cs@alap3.anarazel.de> <20171007040843.zqf4oerahz5mxrp3@alap3.anarazel.de> <20171008200721.sajiwovr5u2u3hqv@alap3.anarazel.de> <13436.1507494471@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