Re: BUG #5347: initdb does not work when a data directory has been deleted
В списке pgsql-bugs по дате отправления:
| От | Tom Lane |
|---|---|
| Тема | Re: BUG #5347: initdb does not work when a data directory has been deleted |
| Дата | |
| Msg-id | 27997.1267199553@sss.pgh.pa.us обсуждение исходный текст |
| Ответ на | BUG #5347: initdb does not work when a data directory has been deleted ("David Andersen" <david.andersen@andersen-innovation.com>) |
| Ответы |
Re: BUG #5347: initdb does not work when a data directory has
been deleted
|
| Список | pgsql-bugs |
"David Andersen" <david.andersen@andersen-innovation.com> writes:
> [ initdb fails with ]
> initdb: directory "../data" exists but is not empty
> If you want to create a new database system, either remove or empty
> the directory "../data" or run initdb
> with an argument other than "../data".
This is not a bug. It's an intentional safety feature to prevent people
from accidentally wiping out their databases by re-initdb'ing over them.
If you really want to re-initdb, do what the message tells you to.
regards, tom lane
В списке pgsql-bugs по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера