We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent aff388d commit 6541f87Copy full SHA for 6541f87
1 file changed
generate/gendb.bat
@@ -63,15 +63,15 @@ if not exist "%BIN_DIR%\initdb.exe" (
63
64
:: Чистый старт: удалить старые data/temp и создать заново
65
if exist "%TMP_DIR%" rd /s /q "%TMP_DIR%"
66
-if exist "%DATA_DIR%" rd /s /q "%DATA_DIR%"
+:: if exist "%DATA_DIR%" rd /s /q "%DATA_DIR%"
67
68
mkdir "%TMP_DIR%" 2>nul
69
-mkdir "%DATA_DIR%" 2>nul
+:: mkdir "%DATA_DIR%" 2>nul
70
71
-if not exist "%DATA_DIR%" (
72
- echo [%date% %time%] ❌ ERROR: Failed to create data dir: "%DATA_DIR%"
73
- endlocal & exit /b 1
74
-)
+:: if not exist "%DATA_DIR%" (
+:: echo [%date% %time%] ❌ ERROR: Failed to create data dir: "%DATA_DIR%"
+:: endlocal & exit /b 1
+:: )
75
76
:: Переменные окружения для initdb/psql
77
set "PGDATA=%DATA_DIR%"
0 commit comments