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 <[email protected]> Reviewed-by: Juan José SantamarÃa Flecha <[email protected]> Discussion: https://postgr.es/m/camm1awanduapyfymaqdejrzmptnvlcjrs++cczwy8lt6kco...@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(+)
