forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit741b1b2
committed
Make logging_collector=on work with non-windows EXEC_BACKEND again.
Commitb94ce6e reordered postmaster's startup sequence so that thetempfile directory is only cleaned up after all the necessary statefor pg_ctl is collected. Unfortunately the chosen location is afterthe syslogger has been started; which normally is fine, except for!WIN32 EXEC_BACKEND builds, which pass information to children viafiles in the temp directory.Move the call to RemovePgTempFiles() to just before the syslogger hasstarted. That's the first child we fork.Luckily EXEC_BACKEND is pretty much only used by endusers on windows,which has a separate method to pass information to children. Thatmeans the real world impact of this bug is very small.Discussion: 20150113182344.GF12272@alap3.anarazel.deBackpatch to 9.1, just as the previous commit was.1 parent19954a4 commit741b1b2
1 file changed
+7
-7
lines changedLines changed: 7 additions & 7 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1064 | 1064 |
| |
1065 | 1065 |
| |
1066 | 1066 |
| |
| 1067 | + | |
| 1068 | + | |
| 1069 | + | |
| 1070 | + | |
| 1071 | + | |
| 1072 | + | |
1067 | 1073 |
| |
1068 | 1074 |
| |
1069 | 1075 |
| |
| |||
1103 | 1109 |
| |
1104 | 1110 |
| |
1105 | 1111 |
| |
1106 |
| - | |
1107 |
| - | |
1108 |
| - | |
1109 |
| - | |
1110 |
| - | |
1111 |
| - | |
1112 | 1112 |
| |
1113 | 1113 |
| |
1114 | 1114 |
| |
| |||
4937 | 4937 |
| |
4938 | 4938 |
| |
4939 | 4939 |
| |
4940 |
| - | |
| 4940 | + | |
4941 | 4941 |
| |
4942 | 4942 |
| |
4943 | 4943 |
| |
|
0 commit comments
Comments
(0)