forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit9886744
committed
pg_ctl: Disable autoruns for cmd.exe on Windows
On Windows, cmd.exe is used to launch the postmaster process to ease itsredirection setup. However, cmd.exe may execute other programs atstartup due to autorun configurations, which could influence thepostmaster startup. This patch adds /D flag to the launcher cmd.execommand line to disable autorun settings written in the registry.This is arguably a bug, but no backpatch is done now out of caution.Reported-by: Hayato KurodaAuthor: Kyotaro HoriguchiReviewed-by: Robert Haas, Michael PaquierDiscussion:https://postgr.es/m/20230922.161551.320043332510268554.horikyota.ntt@gmail.com1 parentf896057 commit9886744
1 file changed
+2
-2
lines changedLines changed: 2 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
552 | 552 |
| |
553 | 553 |
| |
554 | 554 |
| |
555 |
| - | |
| 555 | + | |
556 | 556 |
| |
557 | 557 |
| |
558 | 558 |
| |
559 |
| - | |
| 559 | + | |
560 | 560 |
| |
561 | 561 |
| |
562 | 562 |
| |
|
0 commit comments
Comments
(0)