pgsql: Update types in smgr API

From: Peter Eisentraut <peter(at)eisentraut(dot)org>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Update types in smgr API
Date: 2023-02-27 06:53:46
Message-ID: E1pWXOM-000v92-Ft@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Update types in smgr API

Change data buffer to void *, from char *, and add const where
appropriate. This makes it match the File API (see also
2d4f1ba6cfc2f0a977f1c30bda9848041343e248) and stdio.

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

Branch
------
master

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

Modified Files
--------------
contrib/bloom/blinsert.c | 2 +-
src/backend/access/heap/rewriteheap.c | 4 ++--
src/backend/access/nbtree/nbtree.c | 2 +-
src/backend/access/nbtree/nbtsort.c | 6 +++---
src/backend/access/spgist/spginsert.c | 6 +++---
src/backend/storage/buffer/bufmgr.c | 4 ++--
src/backend/storage/smgr/md.c | 6 +++---
src/backend/storage/smgr/smgr.c | 12 ++++++------
src/include/storage/md.h | 6 +++---
src/include/storage/smgr.h | 6 +++---
10 files changed, 27 insertions(+), 27 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Heikki Linnakangas 2023-02-27 07:40:51 pgsql: pg_rewind: Remove notice in docs about running CHECKPOINT after
Previous Message Amit Kapila 2023-02-27 03:09:50 pgsql: Change xl_hash_vacuum_one_page.ntuples from int to uint16.