Re: [BUGS] json(b)_array_elements use causes very large memory usagewhen also referencing entire json document

Поиск
Список
Период
Сортировка
От Andres Freund
Тема Re: [BUGS] json(b)_array_elements use causes very large memory usagewhen also referencing entire json document
Дата
Msg-id 20171008211311.vrzrbelmiwvinka6@alap3.anarazel.de
обсуждение исходный текст
Ответ на Re: [BUGS] json(b)_array_elements use causes very large memory usage when also referencing entire json document  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-bugs
On 2017-10-08 16:27:51 -0400, Tom Lane wrote:
> 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.

WFM. Was only thinking about it, because it'd give the OP a chance to
upgrade to a supported release and get rid of the behaviour. But given
he's essentially hitting O(n^2) runtime even aftre that, just rewriting
the query is the saner option anyway...

Will make it so.

Greetings,

Andres Freund


-- 
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 по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: [BUGS] json(b)_array_elements use causes very large memory usage when also referencing entire json document
Следующее
От: Peter Geoghegan
Дата:
Сообщение: Re: [BUGS] BUG #14844: Failure/Duplicate key value with ALTERDATABASE set search_path