codekingpro/portable-devtools
116k
1@echo off2setlocal3call "%~dp0activate_env.bat"4if exist "%DEVTOOLS_ROOT%\pgsql_data" (5 echo [INFO] PostgreSQL data directory already exists.6) else (7 echo [INFO] Initializing new PostgreSQL data directory...8 initdb -U postgres -A trust -E utf8 --locale=C9 echo [SUCCESS] PostgreSQL initialized successfully!10)11endlocal12 