forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commitcc7a3a4
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 parent71942a8 commitcc7a3a4
1 file changed
+7
-8
lines changedLines changed: 7 additions & 8 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1173 | 1173 |
| |
1174 | 1174 |
| |
1175 | 1175 |
| |
| 1176 | + | |
| 1177 | + | |
| 1178 | + | |
| 1179 | + | |
| 1180 | + | |
| 1181 | + | |
1176 | 1182 |
| |
1177 | 1183 |
| |
1178 | 1184 |
| |
| |||
1230 | 1236 |
| |
1231 | 1237 |
| |
1232 | 1238 |
| |
1233 |
| - | |
1234 |
| - | |
1235 |
| - | |
1236 |
| - | |
1237 |
| - | |
1238 |
| - | |
1239 |
| - | |
1240 | 1239 |
| |
1241 | 1240 |
| |
1242 | 1241 |
| |
| |||
6067 | 6066 |
| |
6068 | 6067 |
| |
6069 | 6068 |
| |
6070 |
| - | |
| 6069 | + | |
6071 | 6070 |
| |
6072 | 6071 |
| |
6073 | 6072 |
| |
|
0 commit comments
Comments
(0)