On Mon, Mar 1, 2021 at 7:50 PM Alvaro Herrera <alvhe...@alvh.no-ip.org> wrote:
> On 2021-Mar-01, Juan José Santamaría Flecha wrote: > > > 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. > > Ah, so another way to fix it would be to make the path to pg_ctl be > absolute? > Yes, that's right. If you call initdb with an absolute path you won't see a problem. Regards, Juan José Santamaría Flecha