pgsql: Rename PageData to GenericXLogPageData

From: Peter Eisentraut <peter(at)eisentraut(dot)org>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Rename PageData to GenericXLogPageData
Date: 2024-10-04 10:57:55
Message-ID: E1swg0R-0027RT-C5@gemulon.postgresql.org
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Rename PageData to GenericXLogPageData

In the PostgreSQL C type naming schema, the type PageData should be
what the pointer of type Page points to. But in this case it's
actually an unrelated type local to generic_xlog.c. Rename that to a
more specific name. This makes room to possible add a PageData type
with the mentioned meaning, but this is not done here.

Reviewed-by: Heikki Linnakangas <hlinnaka(at)iki(dot)fi>
Reviewed-by: Michael Paquier <michael(at)paquier(dot)xyz>
Discussion: https://www.postgresql.org/message-id/flat/001d457e-c118-4219-8132-e1846c2ae3c9%40eisentraut.org

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/ddbba3aac868132137782b02a4e81218cfd3b4b9

Modified Files
--------------
src/backend/access/transam/generic_xlog.c | 24 ++++++++++++------------
src/tools/pgindent/typedefs.list | 2 +-
2 files changed, 13 insertions(+), 13 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2024-10-04 16:01:58 pgsql: ecpg: avoid adding whitespace around '&' in connection URLs.
Previous Message Dean Rasheed 2024-10-04 08:52:16 pgsql: Speed up numeric division by always using the "fast" algorithm.