forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit2be82dc
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 parente922a13 commit2be82dc
1 file changed
+7
-8
lines changedLines changed: 7 additions & 8 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1140 | 1140 |
| |
1141 | 1141 |
| |
1142 | 1142 |
| |
| 1143 | + | |
| 1144 | + | |
| 1145 | + | |
| 1146 | + | |
| 1147 | + | |
| 1148 | + | |
1143 | 1149 |
| |
1144 | 1150 |
| |
1145 | 1151 |
| |
| |||
1197 | 1203 |
| |
1198 | 1204 |
| |
1199 | 1205 |
| |
1200 |
| - | |
1201 |
| - | |
1202 |
| - | |
1203 |
| - | |
1204 |
| - | |
1205 |
| - | |
1206 |
| - | |
1207 | 1206 |
| |
1208 | 1207 |
| |
1209 | 1208 |
| |
| |||
5869 | 5868 |
| |
5870 | 5869 |
| |
5871 | 5870 |
| |
5872 |
| - | |
| 5871 | + | |
5873 | 5872 |
| |
5874 | 5873 |
| |
5875 | 5874 |
| |
|
0 commit comments
Comments
(0)