Remove XLogFileInit() ability to unlink a pre-existing file.

Noah Misch <noah@leadboat.com>

Commit: 421484f79c0b80209fa766eb00dbc2453a753273
Author: Noah Misch <noah@leadboat.com>
Date: 2021-06-29T01:34:56Z
Releases: 15.0
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

Files

Discussion