paste #8E :

C:\Program Files\PostgreSQL\15\bin>pg_ctl.exe restart -D  "C:\Program Files\PostgreSQL\15\data"
pg_ctl: old server process (PID: 9012) seems to be gone
starting server anyway
waiting for server to start....2023-06-13 21:55:46.574 +08 [18268] LOG:  redirecting log output to logging collector process
2023-06-13 21:55:46.574 +08 [18268] HINT:  Future log output will appear in directory "log".
 stopped waiting
pg_ctl: could not start server
Examine the log output.
C: Program Files PostgreSQL 15 bin > pg_ctl.exe RESTART - D "C:\Program Files\PostgreSQL\15\data" pg_ctl: old SERVER process (PID: 9012) seems TO be gone starting SERVER anyway waiting FOR SERVER TO start....2023 - 06 - 13 21:55:46.574 + 08[18268] LOG: redirecting log output TO logging collector process 2023 - 06 - 13 21:55:46.574 + 08[18268] HINT: Future log output will appear IN directory "log".stopped waiting pg_ctl: could NOT START SERVER Examine the log output.
-- Formatted by pgFormatter::Beautify