pgsql: Reorder two functions in inval.c

From: Noah Misch <noah(at)leadboat(dot)com>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Reorder two functions in inval.c
Date: 2025-12-17 00:14:48
Message-ID: E1vVfBn-0019OE-1X@gemulon.postgresql.org
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Reorder two functions in inval.c

This file separates public and static functions with a separator
comment, but two routines were not defined in a location reflecting
that, so reorder them.

Back-patch commit c2bdd2c5b1d48a7e39e1a8d5e1d90b731b53c4c9 to v15 - v16.
This avoids merge conflicts in the next commit, which modifies a
function this moved. Exclude v14, which is so different that the merge
conflict savings would be immaterial.

Author: Aleksander Alekseev <aleksander(at)timescale(dot)com>
Reviewed-by: Álvaro Herrera <alvherre(at)kurilemu(dot)de>
Reviewed-by: Michael Paquier <michael(at)paquier(dot)xyz>
Discussion: https://postgr.es/m/CAJ7c6TMX2dd0g91UKvcC+CVygKQYJkKJq1+ZzT4rOK42+b53=w@mail.gmail.com
Backpatch-through: 15-16

Branch
------
REL_15_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/fa7278e745458efdabe99fee6f2230e4e61451f4
Author: Michael Paquier <michael(at)paquier(dot)xyz>

Modified Files
--------------
src/backend/utils/cache/inval.c | 183 ++++++++++++++++++++--------------------
1 file changed, 91 insertions(+), 92 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Michael Paquier 2025-12-17 02:46:48 pgsql: Change pgstat_report_vacuum() to use Relation
Previous Message Michael Paquier 2025-12-16 23:59:14 pgsql: Remove useless code in InjectionPointAttach()