| From: | Michael Paquier <michael(at)paquier(dot)xyz> |
|---|---|
| To: | pgsql-committers(at)lists(dot)postgresql(dot)org |
| Subject: | pgsql: Use [re]palloc_array() in buffile.c and fd.c |
| Date: | 2026-07-31 02:49:49 |
| Message-ID: | E1wpdJl-000000011x2-0mGX@gemulon.postgresql.org |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-committers |
Use [re]palloc_array() in buffile.c and fd.c
The code paths patched in this commit fix some of remnants not addressed
by 1b105f9472bd. We should have more holes in the tree that could
benefit from stronger type safety guarantees. These hypothetical holes
could be addressed later; this finishes the job in storage/file/ for the
backend code.
Author: Tristan Partin <tristan(at)partin(dot)io>
Reviewed-by: Daniel Gustafsson <daniel(at)yesql(dot)se>
Reviewed-by: Sami Imseih <samimseih(at)gmail(dot)com>
Discussion: https://postgr.es/m/DKBAWPZ2QDOS.10Y3JDUNKFMXX@partin.io
Branch
------
master
Details
-------
https://git.postgresql.org/pg/commitdiff/d64c805dea27d189904394ece7576762bece278c
Modified Files
--------------
src/backend/storage/file/buffile.c | 6 ++----
src/backend/storage/file/fd.c | 4 ++--
2 files changed, 4 insertions(+), 6 deletions(-)
| From | Date | Subject | |
|---|---|---|---|
| Next Message | David Rowley | 2026-07-31 03:36:55 | pgsql: Fix issue with RANGE's DEFAULT partition pruning |
| Previous Message | David Rowley | 2026-07-31 01:16:50 | pgsql: Fix incorrect Result node flattening logic |