Julien Rouhaud <rjuju...@gmail.com> writes: > On Sat, Sep 10, 2022 at 07:14:59PM +0000, andrey.ara...@nixaid.com wrote: >> Have slightly improved the logic so that it does not report an error >> "directory \"%s\" exists but is not empty" >> when it is only supposed to warn the user about the mountpoint, without >> exiting.
> This definitely isn't a typo, as it's really strongly discouraged to use a > mount point for the data directory. Absolutely. I think maybe the problem here is that warn_on_mount_point() is a pretty bad name for that helper function, as this is not "just a warning". regards, tom lane