pgsql: Add const to BufFileWrite

From: Peter Eisentraut <peter(at)eisentraut(dot)org>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Add const to BufFileWrite
Date: 2022-12-30 09:16:02
Message-ID: E1pBBUf-0017c6-Sz@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Add const to BufFileWrite

Make data buffer argument to BufFileWrite a const pointer and bubble
this up to various callers and related APIs. This makes the APIs
clearer and more consistent.

Discussion: https://www.postgresql.org/message-id/flat/11dda853-bb5b-59ba-a746-e168b1ce4bdb%40enterprisedb.com

Branch
------
master

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

Modified Files
--------------
src/backend/access/gist/gistbuildbuffers.c | 4 ++--
src/backend/backup/backup_manifest.c | 4 ++--
src/backend/storage/file/buffile.c | 4 ++--
src/backend/utils/sort/logtape.c | 8 ++++----
src/include/storage/buffile.h | 2 +-
src/include/utils/logtape.h | 2 +-
6 files changed, 12 insertions(+), 12 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Peter Eisentraut 2022-12-30 10:15:36 pgsql: Use appendStringInfoString instead of appendBinaryStringInfo whe
Previous Message Andres Freund 2022-12-29 21:40:09 pgsql: perl: Hide warnings inside perl.h when using gcc compatible comp