From: | Michael Paquier <michael(at)paquier(dot)xyz> |
---|---|
To: | pgsql-committers(at)lists(dot)postgresql(dot)org |
Subject: | pgsql: Constify the arguments of copydir.h functions |
Date: | 2023-01-18 00:05:28 |
Message-ID: | E1pHvxI-004CmW-Gf@gemulon.postgresql.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-committers |
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(-)
From | Date | Subject | |
---|---|---|---|
Next Message | Michael Paquier | 2023-01-18 02:17:19 | pgsql: Refactor code for restoring files via shell commands |
Previous Message | Tom Lane | 2023-01-17 22:13:58 | Re: pgsql: Doc: add XML ID attributes to <sectN> and <varlistentry> tags. |