From: Peter Geoghegan <pg@bowt.ie>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Consolidate nbtree VACUUM metapage routines.
Date: Fri, 12 Mar 2021 21:14:23 +0000
Message-ID: <E1lKp71-0006bm-EB@gemulon.postgresql.org> (raw)
Consolidate nbtree VACUUM metapage routines.
Simplify _bt_vacuum_needs_cleanup() functions's signature (it only needs
a single 'rel' argument now), and move it next to its sibling function
in nbtpage.c.
I believe that _bt_vacuum_needs_cleanup() was originally located in
nbtree.c due to an include dependency issue. That's no longer an issue.
Follow-up to commit 9f3665fb.
Branch
------
master
Details
-------
https://git.postgresql.org/pg/commitdiff/02b5940dbea17d07a1dbcba3cbe113cc8b70f228
Modified Files
--------------
src/backend/access/nbtree/nbtpage.c | 66 +++++++++++++++++++++++++++++++++----
src/backend/access/nbtree/nbtree.c | 63 +----------------------------------
src/include/access/nbtree.h | 1 +
3 files changed, 61 insertions(+), 69 deletions(-)
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-committers@postgresql.org
Cc: pg@bowt.ie
Subject: Re: pgsql: Consolidate nbtree VACUUM metapage routines.
In-Reply-To: <E1lKp71-0006bm-EB@gemulon.postgresql.org>
References: <E1lKp71-0006bm-EB@gemulon.postgresql.org>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox