Remove XLogFileInit() ability to unlink a pre-existing file.
Only initdb used it. initdb refuses to operate on a non-empty directory
and generally does not cope with pre-existing files of other kinds.
Hence, use the opportunity to simplify.
Discussion: https://postgr.es/m/20210202151416.GB3304930@rfd.leadboat.com
Branch
------
master
Details
-------
https://git.postgresql.org/pg/commitdiff/421484f79c0b80209fa766eb00dbc2453a753273
Modified Files
--------------
src/backend/access/transam/xlog.c | 61 ++++++++++++++---------------------
src/backend/replication/walreceiver.c | 5 ++-
src/include/access/xlog.h | 2 +-
3 files changed, 28 insertions(+), 40 deletions(-)
Есть вопросы? Напишите нам!
Соглашаюсь с условиями обработки персональных данных
✖
By continuing to browse this website, you agree to the use of cookies. Go to Privacy Policy.