devdocs - startsql.bat: PostgreSQL log to a fixed file

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-10-31 16:29:48 -07:00
parent 393a60c57d
commit 910e022016

View File

@@ -3,7 +3,8 @@
@rem old version
@rem C:\data\code\postgres_13\bin\pg_ctl -D ^"C^:^\data^\code^\postgres^_13^\ayanova^" -l logfile start
C:\data\code\postgres_15\bin\pg_ctl -D ^"C^:^\data^\code^\postgres^_15^\ayanova^" -l logfile start
@rem the server log goes beside the data folder, not into whichever folder this was started from
C:\data\code\postgres_15\bin\pg_ctl -D ^"C^:^\data^\code^\postgres^_15^\ayanova^" -l C:\data\code\postgres_15\postgres.log start
ECHO Press any key to stop POSTGRES database server
pause
C:\data\code\postgres_15\bin\pg_ctl -D ^"C^:^\data^\code^\postgres^_15^\ayanova^" stop