mirror of
https://github.com/postgres/postgres.git
synced 2025-11-09 06:21:09 +03:00
Warn about initdb using mount-points
Add code to detect and warn about trying to initdb or create pg_xlog on mount points.
This commit is contained in:
@@ -371,6 +371,8 @@ verify_dir_is_empty_or_create(char *dirname)
|
||||
*/
|
||||
return;
|
||||
case 2:
|
||||
case 3:
|
||||
case 4:
|
||||
|
||||
/*
|
||||
* Exists, not empty
|
||||
|
||||
Reference in New Issue
Block a user