Re: Use generation memory context for tuplestore.c
David Rowley <dgrowleyml@gmail.com>
From: David Rowley <dgrowleyml@gmail.com>
To: Matthias van de Meent <boekewurm+postgres@gmail.com>,
Dmitry Dolgov <9erthalion6@gmail.com>
Cc: PostgreSQL Developers <pgsql-hackers@lists.postgresql.org>
Date: 2024-07-05T05:54:38Z
Lists: pgsql-hackers
On Wed, 3 Jul 2024 at 22:41, David Rowley <dgrowleyml@gmail.com> wrote: > > On Wed, 3 Jul 2024 at 00:20, Matthias van de Meent > > Lastly, I think this would benefit from a test in > > regress/sql/explain.sql, as the test changes that were included > > removed the only occurrance of a Materialize node from the regression > > tests' EXPLAIN outputs. > > I've modified the tests where the previous patch disabled > enable_material to enable it again and mask out the possibly unstable > part. Do you think that's an ok level of testing? I spent quite a bit more time today looking at these patches. Mostly that amounted to polishing comments more. I've pushed them both now. Thank you both of you for reviewing these. David
Commits
-
Adjust tuplestore.c not to allocate BufFiles in generation context
- 04bcf9e19a42 18.0 landed
-
Fix incorrect sentinel byte logic in GenerationRealloc()
- 49e29cbe8cbc 16.4 landed
- 84a9d3800628 17.0 landed
- 97651b0139cf 18.0 landed
-
Improve memory management and performance of tuplestore.c
- 590b045c37aa 18.0 landed
-
Fix newly introduced issue in EXPLAIN for Materialize nodes
- 53abb1e0ebc3 18.0 landed
-
Add memory/disk usage for Material nodes in EXPLAIN
- 1eff8279d494 18.0 landed