Обсуждение: Loggin on WIN32
Hello, I installed various win32-postgres-betas, but ... still I am not able to use the logging-Parameter c:\pgsql\bin\pg_ctl -D c:/pgsql/data start -l c:/pgsql/postgres.log leads to Die Syntax für den Dateinamen, Verzeichnisnamen oder die Datenträgerbezeichnung ist falsch. postmaster starting Meaning: "syntax of filename, directory name or volumename is wrong" ... without "-l" it works; turning "/" to "\" does not improve the situation. Is logging already supposed to work on win32? Harald
Harald Armin Massa wrote: > Hello, > > I installed various win32-postgres-betas, but ... still I am not able > to use the logging-Parameter > > c:\pgsql\bin\pg_ctl -D c:/pgsql/data start -l c:/pgsql/postgres.log > > leads to > > Die Syntax für den Dateinamen, Verzeichnisnamen oder die > Datenträgerbezeichnung > ist falsch. > postmaster starting > > Meaning: > > "syntax of filename, directory name or volumename is wrong" ... > > without "-l" it works; turning "/" to "\" does not improve the situation. > > Is logging already supposed to work on win32? > pg_ctl needs some polishing. The first thing I would try is to move the "start" to the end of the command line - there are some options glitches I suspect. I am also not at all sure how well the start/restart code will work on Windows - we probably have some adjustment to do in that area. cheers andrew
>> Is logging already supposed to work on win32? > >pg_ctl needs some polishing. >The first thing I would try is to move the "start" to the end of the command line - there are some options glitches I >suspect. I tried to move start around ... to no use. Still the same error. So one area to polish :))) Thank you for your suggestion, Harald