forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commitf885449
committed
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 FlechaDiscussion:https://postgr.es/m/16080-5d7f03222469f717@postgresql.org1 parentbd1ef57 commitf885449
2 files changed
+17
-5
lines changedLines changed: 10 additions & 4 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
513 | 513 |
| |
514 | 514 |
| |
515 | 515 |
| |
| 516 | + | |
| 517 | + | |
| 518 | + | |
| 519 | + | |
| 520 | + | |
| 521 | + | |
516 | 522 |
| |
517 | 523 |
| |
518 |
| - | |
519 |
| - | |
| 524 | + | |
| 525 | + | |
520 | 526 |
| |
521 |
| - | |
522 |
| - | |
| 527 | + | |
| 528 | + | |
523 | 529 |
| |
524 | 530 |
| |
525 | 531 |
| |
|
Lines changed: 7 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1193 | 1193 |
| |
1194 | 1194 |
| |
1195 | 1195 |
| |
| 1196 | + | |
| 1197 | + | |
| 1198 | + | |
| 1199 | + | |
| 1200 | + | |
| 1201 | + | |
1196 | 1202 |
| |
1197 | 1203 |
| |
1198 |
| - | |
| 1204 | + | |
1199 | 1205 |
| |
1200 | 1206 |
| |
1201 | 1207 |
| |
|
0 commit comments
Comments
(0)