diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2019-10-28 14:15:03 -0400 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2019-10-28 14:15:03 -0400 |
commit | f88544904e4b57b1a8e969a5d594288554417c88 (patch) | |
tree | 5503dafca6829885f5b84a6bbbf95660bf7c8b91 /contrib/jsonb_plpython/jsonb_plpython.c | |
parent | bd1ef5799b04168d8a869197dd9b85935d5d5da9 (diff) | |
download | postgresql-f88544904e4b57b1a8e969a5d594288554417c88.tar.gz postgresql-f88544904e4b57b1a8e969a5d594288554417c88.zip |
On Windows, use COMSPEC to find the location of cmd.exe.
Historically, psql consulted COMSPEC to spawn a shell in its \! command,
but we just invoked "cmd" when spawning shells in pg_ctl and pg_regress.
It seems better to rely on the environment variable, if it's set,
in all cases.
It's debatable whether this is a bug fix or just a behavioral change,
so no back-patch.
Juan José SantamarÃa Flecha
Discussion: https://postgr.es/m/16080-5d7f03222469f717@postgresql.org
Diffstat (limited to 'contrib/jsonb_plpython/jsonb_plpython.c')
0 files changed, 0 insertions, 0 deletions