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(-)
Есть вопросы? Напишите нам!
Соглашаюсь с условиями обработки персональных данных
✖
By continuing to browse this website, you agree to the use of cookies. Go to Privacy Policy.