1
0
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:
Bruce Momjian
2013-02-16 18:52:50 -05:00
parent 1bd42cd70a
commit 17f1523932
3 changed files with 60 additions and 13 deletions

View File

@@ -371,6 +371,8 @@ verify_dir_is_empty_or_create(char *dirname)
*/
return;
case 2:
case 3:
case 4:
/*
* Exists, not empty