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_10_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/926139dd04bb77ad3c18c9c69544104d15f69672 Modified Files -------------- src/bin/initdb/initdb.c | 3 +++ 1 file changed, 3 insertions(+)
