forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit045c7d3
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 parent4ebb349 commit045c7d3
1 file changed
+7
-8
lines changedLines changed: 7 additions & 8 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1143 | 1143 |
| |
1144 | 1144 |
| |
1145 | 1145 |
| |
| 1146 | + | |
| 1147 | + | |
| 1148 | + | |
| 1149 | + | |
| 1150 | + | |
| 1151 | + | |
1146 | 1152 |
| |
1147 | 1153 |
| |
1148 | 1154 |
| |
| |||
1200 | 1206 |
| |
1201 | 1207 |
| |
1202 | 1208 |
| |
1203 |
| - | |
1204 |
| - | |
1205 |
| - | |
1206 |
| - | |
1207 |
| - | |
1208 |
| - | |
1209 |
| - | |
1210 | 1209 |
| |
1211 | 1210 |
| |
1212 | 1211 |
| |
| |||
5859 | 5858 |
| |
5860 | 5859 |
| |
5861 | 5860 |
| |
5862 |
| - | |
| 5861 | + | |
5863 | 5862 |
| |
5864 | 5863 |
| |
5865 | 5864 |
| |
|
0 commit comments
Comments
(0)