forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit180cf87
committed
Remove ineffective heapam CHECK_FOR_INTERRUPTS().
Remove a CHECK_FOR_INTERRUPTS() call that could never actually handle aninterrupt. We always have a heap page buffer lock at this point.Having a useless CHECK_FOR_INTERRUPTS() call is harmless but misleading.It is probably possible to work around the immediate problem by movingthe CHECK_FOR_INTERRUPTS() to before the heap page buffer lock isacquired. That isn't enough to make the function responsive tointerrupts, though. The index AM caller will still hold an exclusivebuffer lock of its own.1 parent098fb00 commit180cf87
1 file changed
+0
-1
lines changedOriginal file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
7086 | 7086 |
| |
7087 | 7087 |
| |
7088 | 7088 |
| |
7089 |
| - | |
7090 | 7089 |
| |
7091 | 7090 |
| |
7092 | 7091 |
| |
|
0 commit comments
Comments
(0)