pgsql: Return data from heap_page_prune via a struct.

From: Robert Haas <rhaas(at)postgresql(dot)org>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Return data from heap_page_prune via a struct.
Date: 2023-09-28 15:24:29
Message-ID: E1qlssP-006UF4-2Y@gemulon.postgresql.org
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Return data from heap_page_prune via a struct.

Previously, one of the values in the struct was returned as the return
value, and another was returned via an output parameter. In
preparation for returning more stuff, consolidate both values into a
struct returned via an output parameter.

Melanie Plageman, reviewed by Andres Freund and by me.

Discussion: https://postgr.es/m/CAAKRu_br124qsGJieuYA0nGjywEukhK1dKBfRdby_4yY3E9SXA%40mail.gmail.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/4e9fc3a9762065a442b829d759dc61d9a3265e81

Modified Files
--------------
src/backend/access/heap/pruneheap.c | 33 +++++++++++++++------------------
src/backend/access/heap/vacuumlazy.c | 17 ++++++-----------
src/include/access/heapam.h | 13 +++++++++++--
src/tools/pgindent/typedefs.list | 1 +
4 files changed, 33 insertions(+), 31 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2023-09-28 18:05:37 pgsql: Fix checking of index expressions in CompareIndexInfo().
Previous Message Daniel Gustafsson 2023-09-28 13:38:28 pgsql: doc: Clarify where ereport severity levels are defined