pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Juan José Santamaría Flecha <juanjo.santamaria@gmail.com>
Cc: cilizili@protonmail.com
Cc: pgsql-bugs@lists.postgresql.org
Subject: Re: BUG #16080: pg_ctl is failed if a fake cmd.exe exist in the current directory.
Date: Mon, 28 Oct 2019 14:16:21 -0400
Message-ID: <29475.1572286581@sss.pgh.pa.us> (raw)
In-Reply-To: <CAC+AXB3tKmMaAUFPmkB6ybt2ZpB0L5ZwLaCMpRQdKfPJFNQP_g@mail.gmail.com>
References: <16080-5d7f03222469f717@postgresql.org>
	<22130.1572097001@sss.pgh.pa.us>
	<CAC+AXB3Rj1KkQtLMGqpO5q9_+50Rzre_u4KZjXerX+kHfWsJ2A@mail.gmail.com>
	<26128.1572103204@sss.pgh.pa.us>
	<CAC+AXB2GhuACSEdueBnCojvTeg=4Y0enyvnBiX7LTjFXNrKK0w@mail.gmail.com>
	<857.1572111840@sss.pgh.pa.us>
	<CAC+AXB1UKiioDZE5WwofFUL7smA2cqf71U2K5mfRNrjTrggiww@mail.gmail.com>
	<20359.1572190966@sss.pgh.pa.us>
	<CAC+AXB3tKmMaAUFPmkB6ybt2ZpB0L5ZwLaCMpRQdKfPJFNQP_g@mail.gmail.com>

=?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





view thread (10+ messages)

Message-ID: <29475.1572286581@sss.pgh.pa.us>
Permalink:  ../29475.1572286581@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/29475.1572286581@sss.pgh.pa.us

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-bugs@postgresql.org
  Cc: tgl@sss.pgh.pa.us, juanjo.santamaria@gmail.com, cilizili@protonmail.com
  Subject: Re: BUG #16080: pg_ctl is failed if a fake cmd.exe exist in the current directory.
  In-Reply-To: <29475.1572286581@sss.pgh.pa.us>
  References: <16080-5d7f03222469f717@postgresql.org> <22130.1572097001@sss.pgh.pa.us> <CAC+AXB3Rj1KkQtLMGqpO5q9_+50Rzre_u4KZjXerX+kHfWsJ2A@mail.gmail.com> <26128.1572103204@sss.pgh.pa.us> <CAC+AXB2GhuACSEdueBnCojvTeg=4Y0enyvnBiX7LTjFXNrKK0w@mail.gmail.com> <857.1572111840@sss.pgh.pa.us> <CAC+AXB1UKiioDZE5WwofFUL7smA2cqf71U2K5mfRNrjTrggiww@mail.gmail.com> <20359.1572190966@sss.pgh.pa.us> <CAC+AXB3tKmMaAUFPmkB6ybt2ZpB0L5ZwLaCMpRQdKfPJFNQP_g@mail.gmail.com> <29475.1572286581@sss.pgh.pa.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox