forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit6a8ffe8
committed
Remove some obsolete smgrcloseall() calls.
Before the advent of PROCSIGNAL_BARRIER_SMGRRELEASE, we didn't have acomprehensive way to deal with Windows file handles that get in the wayof unlinking directories. We had smgrcloseall() calls in a few placesto try to mitigate.It's still a good idea for bgwriter and checkpointer to do that once percheckpoint so they don't accumulate unbounded SMgrRelation objects, butthere is no longer any reason to close them at other random places suchas the error path, and the explanation as given in the comments is nowobsolete.Author: Thomas MunroReviewed-by: Heikki Linnakangas, Robert HaasDiscussion:https://www.postgresql.org/message-id/CA%2BhUKGJ8NTvqLHz6dqbQnt2c8XCki4r2QvXjBQcXpVwxTY_pvA@mail.gmail.com1 parent0fda392 commit6a8ffe8
3 files changed
+0
-21
lines changedLines changed: 0 additions & 7 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
197 | 197 |
| |
198 | 198 |
| |
199 | 199 |
| |
200 |
| - | |
201 |
| - | |
202 |
| - | |
203 |
| - | |
204 |
| - | |
205 |
| - | |
206 |
| - | |
207 | 200 |
| |
208 | 201 |
| |
209 | 202 |
| |
|
Lines changed: 0 additions & 7 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
301 | 301 |
| |
302 | 302 |
| |
303 | 303 |
| |
304 |
| - | |
305 |
| - | |
306 |
| - | |
307 |
| - | |
308 |
| - | |
309 |
| - | |
310 |
| - | |
311 | 304 |
| |
312 | 305 |
| |
313 | 306 |
| |
|
Lines changed: 0 additions & 7 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
186 | 186 |
| |
187 | 187 |
| |
188 | 188 |
| |
189 |
| - | |
190 |
| - | |
191 |
| - | |
192 |
| - | |
193 |
| - | |
194 |
| - | |
195 |
| - | |
196 | 189 |
| |
197 | 190 |
| |
198 | 191 |
| |
|
0 commit comments
Comments
(0)