Re: [PATCH] Bug fix in initdb output
Juan José Santamaría Flecha <juanjo.santamaria@gmail.com>
From: Juan José Santamaría Flecha <juanjo.santamaria@gmail.com>
To: Alvaro Herrera <alvherre@alvh.no-ip.org>
Cc: Nitin Jadhav <nitinjadhavpostgres@gmail.com>, Pg Hackers <pgsql-hackers@postgresql.org>
Date: 2021-03-01T18:39:49Z
Lists: pgsql-hackers
El lun., 1 mar. 2021 19:16, Alvaro Herrera <alvherre@alvh.no-ip.org> escribió: > > I don't get it. I thought the windows API accepted both forward slashes > and backslashes as path separators. Did you try the command and see it > fail? > This is not a problem with the APi, but the shell. e.g. when using a CMD: - This works: c:\>c:\Windows\System32\notepad.exe c:\>c:/Windows/System32/notepad.exe c:\>/Windows/System32/notepad.exe - This doesn't: c:\>./Windows/System32/notepad.exe '.' is not recognized as an internal or external command, operable program or batch file. c:\>Windows/System32/notepad.exe 'Windows' is not recognized as an internal or external command, operable program or batch file. Regards, Juan José Santamaría Flecha
Commits
-
Use native path separators to pg_ctl in initdb
- f927767919e8 12.7 landed
- b52fd1e7c76c 13.3 landed
- ae1c1d84ea24 11.12 landed
- 926139dd04bb 10.17 landed
- 75dbfe4ca70d 14.0 landed
-
Have initdb display relative paths to start postmaster if used to invoke
- ee814b4511ec 8.0.0 cited