Re: [PATCH] Bug fix in initdb output

From: Juan José Santamaría Flecha <juanjo(dot)santamaria(at)gmail(dot)com>
To: Alvaro Herrera <alvherre(at)alvh(dot)no-ip(dot)org>
Cc: Nitin Jadhav <nitinjadhavpostgres(at)gmail(dot)com>, Pg Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: [PATCH] Bug fix in initdb output
Date: 2021-03-01 18:39:49
Message-ID: CAC+AXB3sYekSk0Nw+S8-4fpQUhg0GyMbGMGUeOGNrNCKS8R0sg@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

El lun., 1 mar. 2021 19:16, Alvaro Herrera <alvherre(at)alvh(dot)no-ip(dot)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

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Alvaro Herrera 2021-03-01 18:50:37 Re: [PATCH] Bug fix in initdb output
Previous Message Mark Dilger 2021-03-01 18:22:35 Re: [PATCH] Cross-reference comments on signal handling logic