pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Peter Eisentraut <peter@eisentraut.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Add const qualifiers to XLogRegister*() functions
Date: Tue, 03 Sep 2024 06:12:24 +0000
Message-ID: <E1slMm7-000Mlv-SC@gemulon.postgresql.org> (raw)

Add const qualifiers to XLogRegister*() functions

Add const qualifiers to XLogRegisterData() and XLogRegisterBufData().
Several unconstify() calls can be removed.

Reviewed-by: Aleksander Alekseev <aleksander@timescale.com>
Discussion: https://www.postgresql.org/message-id/dd889784-9ce7-436a-b4f1-52e4a5e577bd@eisentraut.org

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/2b5f57977f6d16796121d796835c48e4241b4da1

Modified Files
--------------
src/backend/access/brin/brin_pageops.c    |  4 ++--
src/backend/access/transam/README         |  4 ++--
src/backend/access/transam/xact.c         |  4 ++--
src/backend/access/transam/xlog.c         |  2 +-
src/backend/access/transam/xloginsert.c   | 22 +++++++++++-----------
src/backend/replication/logical/message.c |  4 ++--
src/include/access/xlog_internal.h        |  2 +-
src/include/access/xloginsert.h           |  6 +++---
src/include/storage/bufpage.h             |  4 ++--
9 files changed, 26 insertions(+), 26 deletions(-)



Message-ID: <E1slMm7-000Mlv-SC@gemulon.postgresql.org>
Permalink:  ../E1slMm7-000Mlv-SC@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1slMm7-000Mlv-SC@gemulon.postgresql.org

 · 

reply

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 using the --to and --cc options:
  reply via email

  To: pgsql-committers@postgresql.org
  Cc: peter@eisentraut.org, pgsql-committers@lists.postgresql.org
  Subject: Re: pgsql: Add const qualifiers to XLogRegister*() functions
  In-Reply-To: <E1slMm7-000Mlv-SC@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