| From: | David Rowley <drowley(at)postgresql(dot)org> |
|---|---|
| To: | pgsql-committers(at)lists(dot)postgresql(dot)org |
| Subject: | pgsql: Allow sibling call optimization in slot_getsomeattrs_int() |
| Date: | 2026-03-14 00:52:39 |
| Message-ID: | E1w1DF8-0003Uf-2Y@gemulon.postgresql.org |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-committers |
Allow sibling call optimization in slot_getsomeattrs_int()
This changes the TupleTableSlotOps contract to make it so the
getsomeattrs() function is in charge of calling
slot_getmissingattrs().
Since this removes all code from slot_getsomeattrs_int() aside from the
getsomeattrs() call itself, we may as well adjust slot_getsomeattrs() so
that it calls getsomeattrs() directly. We leave slot_getsomeattrs_int()
intact as this is still called from the JIT code.
Author: David Rowley <dgrowleyml(at)gmail(dot)com>
Reviewed-by: Andres Freund <andres(at)anarazel(dot)de>
Reviewed-by: Zsolt Parragi <zsolt(dot)parragi(at)percona(dot)com>
Discussion: https://postgr.es/m/CAApHDvodSVBj3ypOYbYUCJX%2BNWL%3DVZs63RNBQ_FxB_F%2B6QXF-A%40mail.gmail.com
Branch
------
master
Details
-------
https://git.postgresql.org/pg/commitdiff/4deecb52affa4b6f791e8a57f6584610e4dd12f4
Modified Files
--------------
src/backend/executor/execTuples.c | 58 ++++++++++++++++++++-------------------
src/include/executor/tuptable.h | 13 +++++----
2 files changed, 38 insertions(+), 33 deletions(-)
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Michael Paquier | 2026-03-14 06:09:15 | pgsql: pgstattuple: Optimize pgstattuple_approx() with streaming read |
| Previous Message | Peter Geoghegan | 2026-03-14 00:38:21 | pgsql: Use fake LSNs to improve nbtree dropPin behavior. |