pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Michael Paquier <michael@paquier.xyz>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Constify the arguments of copydir.h functions
Date: Wed, 18 Jan 2023 00:05:28 +0000
Message-ID: <E1pHvxI-004CmW-Gf@gemulon.postgresql.org> (raw)

Constify the arguments of copydir.h functions

This makes sure that the internal logic of these functions does not
attempt to change the value of the arguments constified, and it removes
one unconstify() in basic_archive.c.

Author: Nathan Bossart
Reviewed-by: Andrew Dunstan, Peter Eisentraut
Discussion: https://postgr.es/m/20230114231126.GA2580330@nathanxps13

Branch
------
master

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

Modified Files
--------------
contrib/basic_archive/basic_archive.c | 2 +-
src/backend/storage/file/copydir.c    | 4 ++--
src/include/storage/copydir.h         | 4 ++--
3 files changed, 5 insertions(+), 5 deletions(-)



Message-ID: <E1pHvxI-004CmW-Gf@gemulon.postgresql.org>
Permalink:  ../E1pHvxI-004CmW-Gf@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1pHvxI-004CmW-Gf@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: michael@paquier.xyz
  Subject: Re: pgsql: Constify the arguments of copydir.h functions
  In-Reply-To: <E1pHvxI-004CmW-Gf@gemulon.postgresql.org>
  References: <E1pHvxI-004CmW-Gf@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