From 910e022016facb898b02dc24b2cc41555158c915 Mon Sep 17 00:00:00 2001 From: John Cardinal Date: Sat, 31 Oct 2026 16:29:48 -0700 Subject: [PATCH] devdocs - startsql.bat: PostgreSQL log to a fixed file Co-Authored-By: Claude Opus 5.5 --- startsql.bat | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/startsql.bat b/startsql.bat index 632d61f0..60df9ad6 100644 --- a/startsql.bat +++ b/startsql.bat @@ -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