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: Update types in smgr API
Date: Mon, 27 Feb 2023 06:53:46 +0000
Message-ID: <E1pWXOM-000v92-Ft@gemulon.postgresql.org> (raw)

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(-)



Message-ID: <E1pWXOM-000v92-Ft@gemulon.postgresql.org>
Permalink:  ../E1pWXOM-000v92-Ft@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1pWXOM-000v92-Ft@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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-committers@postgresql.org
  Cc: peter@eisentraut.org
  Subject: Re: pgsql: Update types in smgr API
  In-Reply-To: <E1pWXOM-000v92-Ft@gemulon.postgresql.org>
  References: <E1pWXOM-000v92-Ft@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