Re: BUG #16080: pg_ctl is failed if a fake cmd.exe exist in the current directory. - Mailing list pgsql-bugs

From Tom Lane
Subject Re: BUG #16080: pg_ctl is failed if a fake cmd.exe exist in the current directory.
Date
Msg-id 29475.1572286581@sss.pgh.pa.us
Whole thread Raw
In response to Re: BUG #16080: pg_ctl is failed if a fake cmd.exe exist in thecurrent directory.  (Juan José Santamaría Flecha <juanjo.santamaria@gmail.com>)
List pgsql-bugs
=?UTF-8?Q?Juan_Jos=C3=A9_Santamar=C3=ADa_Flecha?= <juanjo.santamaria@gmail.com> writes:
> On Sun, Oct 27, 2019 at 4:42 PM Tom Lane <tgl@sss.pgh.pa.us> wrote:
>> I poked around a bit for other references to cmd.exe.  It looks
>> like psql's do_shell() is handling this correctly already, but should
>> we not also fix spawn_process() in src/test/regress/pg_regress.c ?

> Agreed, so please find attached an updated patch.

Looks OK now, so pushed.  (I don't have the ability to test this
locally, but the buildfarm will soon tell us if it's wrong.)

            regards, tom lane



pgsql-bugs by date:

Previous
From: Juan José Santamaría Flecha
Date:
Subject: Re: BUG #15858: could not stat file - over 4GB
Next
From: PG Bug reporting form
Date:
Subject: BUG #16084: Server couldn't be contacted