pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Alvaro Herrera <alvherre@alvh.no-ip.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Use native path separators to pg_ctl in initdb
Date: Tue, 02 Mar 2021 18:41:00 +0000
Message-ID: <E1lH9x6-0007QH-6v@gemulon.postgresql.org> (raw)

Use native path separators to pg_ctl in initdb

On Windows, CMD.EXE allegedly does not run a command that uses forward slashes,
so let's convert the path to use backslashes instead.

Backpatch to 10.

Author: Nitin Jadhav <nitinjadhavpostgres@gmail.com>
Reviewed-by: Juan José Santamaría Flecha <juanjo.santamaria@gmail.com>
Discussion: https://postgr.es/m/CAMm1aWaNDuaPYFYMAqDeJrZmPtNvLcJRS++CcZWY8LT6KcoBZw@mail.gmail.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/75dbfe4ca70d5b7a83f61b0a66a0a14ad0b739ed

Modified Files
--------------
src/bin/initdb/initdb.c | 3 +++
1 file changed, 3 insertions(+)



view thread (5+ messages)  latest in thread

Message-ID: <E1lH9x6-0007QH-6v@gemulon.postgresql.org>
Permalink:  ../E1lH9x6-0007QH-6v@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1lH9x6-0007QH-6v@gemulon.postgresql.org

 · 

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-committers@postgresql.org
  Cc: alvherre@alvh.no-ip.org
  Subject: Re: pgsql: Use native path separators to pg_ctl in initdb
  In-Reply-To: <E1lH9x6-0007QH-6v@gemulon.postgresql.org>
  References: <E1lH9x6-0007QH-6v@gemulon.postgresql.org>

* 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