From: | Alvaro Herrera <alvherre(at)alvh(dot)no-ip(dot)org> |
---|---|
To: | pgsql-committers(at)lists(dot)postgresql(dot)org |
Subject: | pgsql: Use native path separators to pg_ctl in initdb |
Date: | 2021-03-02 18:41:00 |
Message-ID: | E1lH9x6-0007QO-87@gemulon.postgresql.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-committers |
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(at)gmail(dot)com>
Reviewed-by: Juan José Santamaría Flecha <juanjo(dot)santamaria(at)gmail(dot)com>
Discussion: https://postgr.es/m/CAMm1aWaNDuaPYFYMAqDeJrZmPtNvLcJRS++CcZWY8LT6KcoBZw@mail.gmail.com
Branch
------
REL_11_STABLE
Details
-------
https://git.postgresql.org/pg/commitdiff/ae1c1d84ea2465a25bc2f20b9c22d0c5779c5b08
Modified Files
--------------
src/bin/initdb/initdb.c | 3 +++
1 file changed, 3 insertions(+)
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2021-03-02 18:54:08 | pgsql: Mark default_transaction_read_only as GUC_REPORT. |
Previous Message | Tom Lane | 2021-03-02 17:14:26 | pgsql: Improve performance of regular expression back-references. |