File size: 378 Bytes
e98b0a7 | 1 2 3 4 5 6 7 8 9 10 11 12 | @echo off
setlocal
call "%~dp0activate_env.bat"
if not exist "%DEVTOOLS_ROOT%\pgsql_data" (
echo [ERROR] PostgreSQL data directory not found. Please run init_postgres.bat first.
exit /b 1
)
echo [INFO] Starting PostgreSQL Server...
pg_ctl -D "%PGDATA%" -l "%DEVTOOLS_ROOT%\pgsql_data\server.log" start
echo [SUCCESS] PostgreSQL is running on default port 5432!
endlocal
|