File size: 335 Bytes
e98b0a7
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
@echo off
setlocal
call "%~dp0activate_env.bat"
if exist "%DEVTOOLS_ROOT%\pgsql_data" (
    echo [INFO] PostgreSQL data directory already exists.
) else (
    echo [INFO] Initializing new PostgreSQL data directory...
    initdb -U postgres -A trust -E utf8 --locale=C
    echo [SUCCESS] PostgreSQL initialized successfully!
)
endlocal