pg.ddx.io  pgsql-hackers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Michael Paquier <michael@paquier.xyz>
Cc: Robert Haas <robertmhaas@gmail.com>
Cc: Kyotaro Horiguchi <horikyota.ntt@gmail.com>
Cc: kuroda.hayato@fujitsu.com
Cc: shlok.kyal.oss@gmail.com
Cc: pgsql-hackers@lists.postgresql.org
Subject: Re: pg_ctl start may return 0 even if the postmaster has been already started on Windows
Date: Tue, 09 Jan 2024 21:40:12 -0500
Message-ID: <2266940.1704854412@sss.pgh.pa.us> (raw)
In-Reply-To: <ZZ32c6vZzrLIrM9q@paquier.xyz>
References: <TYAPR01MB5866F5F7764669A07C7F5E2FF5D8A@TYAPR01MB5866.jpnprd01.prod.outlook.com>
	<20231024.150027.1529972066789460167.horikyota.ntt@gmail.com>
	<TYAPR01MB586640F8FFA4F87902BDF677F5DFA@TYAPR01MB5866.jpnprd01.prod.outlook.com>
	<20231024.172536.511643991820398116.horikyota.ntt@gmail.com>
	<CA+TgmoaYOON0cQPR0Aj_ZD2005+sschuMisSQV7xPqzxrx7vaQ@mail.gmail.com>
	<ZZyV99g76Q3-YwEn@paquier.xyz>
	<ZZ32c6vZzrLIrM9q@paquier.xyz>

Michael Paquier <michael@paquier.xyz> writes:
> I have now applied 0001 for pg_ctl.

> While reviewing that, I have also noticed spawn_process() in
> pg_regress.c that includes direct command invocations with cmd.exe /c.
> Could it make sense to append an extra /d for this case as well?

No Windows expert here, but it does seem like the same argument
applies.

			regards, tom lane





view thread (43+ messages)  latest in thread

Message-ID: <2266940.1704854412@sss.pgh.pa.us>
Permalink:  ../2266940.1704854412@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/2266940.1704854412@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 using the --to and --cc options:
  reply via email

  To: pgsql-hackers@postgresql.org
  Cc: tgl@sss.pgh.pa.us, michael@paquier.xyz, robertmhaas@gmail.com, horikyota.ntt@gmail.com, kuroda.hayato@fujitsu.com, shlok.kyal.oss@gmail.com, pgsql-hackers@lists.postgresql.org
  Subject: Re: pg_ctl start may return 0 even if the postmaster has been already started on Windows
  In-Reply-To: <2266940.1704854412@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