From: | David Rowley <dgrowleyml(at)gmail(dot)com> |
---|---|
To: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
Cc: | Andres Freund <andres(at)anarazel(dot)de>, Robert Haas <robertmhaas(at)gmail(dot)com>, Yura Sokolov <y(dot)sokolov(at)postgrespro(dot)ru>, PostgreSQL Developers <pgsql-hackers(at)lists(dot)postgresql(dot)org> |
Subject: | Re: Reducing the chunk header sizes on all memory context types |
Date: | 2022-09-06 02:35:52 |
Message-ID: | CAApHDvrf7E8h=NdM1-zsbM+92UjRJ4tGZd7jqdOtZOdbScrQ2Q@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
On Tue, 6 Sept 2022 at 14:32, David Rowley <dgrowleyml(at)gmail(dot)com> wrote:
> I wonder if there are many usages of MemoryContextContains in
> extensions. If there's not, I'd be much happier if we got rid of this
> function and used GetMemoryChunkContext() in nodeAgg.c and
> nodeWindowAgg.c.
I see postgis is one user of it, per [1]. The other extensions
mentioned there just seem to be copying code and not using it.
David
[1] https://codesearch.debian.net/search?q=MemoryContextContains&literal=1
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2022-09-06 02:43:14 | Re: Reducing the chunk header sizes on all memory context types |
Previous Message | David Rowley | 2022-09-06 02:32:42 | Re: Reducing the chunk header sizes on all memory context types |