Re: Large writable variables - Mailing list pgsql-hackers

From Thomas Munro
Subject Re: Large writable variables
Date
Msg-id CAEepm=1_OgTWJwx6-kww7jDG=UUwMY4enWE-6VbBnQaWGNTs0Q@mail.gmail.com
Whole thread Raw
In response to Large writable variables  (Andres Freund <andres@anarazel.de>)
Responses Re: Large writable variables  (Andres Freund <andres@anarazel.de>)
List pgsql-hackers
On Tue, Oct 16, 2018 at 9:07 AM Andres Freund <andres@anarazel.de> wrote:
> $ nm -t d --size-sort -r -S src/backend/postgres|grep '\b[bB]\b'|head
> 0000000008251872 0000000000131144 b LagTracker
...
> So we have a two variables sized 130kb. Yikes.
...
> that's not actually used very often, nor in all processes... Thomas?

Yeah, here's a patch to move it in to the heap.

-- 
Thomas Munro
http://www.enterprisedb.com

Attachment

pgsql-hackers by date:

Previous
From: Andres Freund
Date:
Subject: Re: Large writable variables
Next
From: Tom Lane
Date:
Subject: Re: Large writable variables