pgsql: Re-enable autoruns for cmd.exe on Windows

From: Michael Paquier <michael(at)paquier(dot)xyz>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Re-enable autoruns for cmd.exe on Windows
Date: 2024-07-08 00:45:18
Message-ID: E1sQcVK-000lzp-RY@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Re-enable autoruns for cmd.exe on Windows

This acts as a revert of b83747a8a65b and 9886744a361b. As pointed out
by Noah, HEAD and REL_17_STABLE are in a weird state where the code
paths adding /D would limit the spawn of child processes, but we still
have code paths where the spawn of more than one child process(es) would
be possible.

Let's remove these /D switches for now, to bring back the code into a
state consistent with how autorun is configured on a Windows host.

Reported-by: Noah Misch
Discussion: https://postgr.es/m/20240630021211.f3.nmisch@google.com
Backpatch-through: 17

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/74b8e6a698025fbea5a5e22ea09d07d97188c1d6

Modified Files
--------------
src/bin/pg_ctl/pg_ctl.c | 4 ++--
src/test/regress/pg_regress.c | 2 +-
2 files changed, 3 insertions(+), 3 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Richard Guo 2024-07-08 01:32:29 pgsql: Fix right-anti-joins when the inner relation is proven unique
Previous Message Tom Lane 2024-07-06 19:16:33 pgsql: Use xmlAddChildList not xmlAddChild in XMLSERIALIZE.