aboutsummaryrefslogtreecommitdiff
path: root/src/backend/tcop/postgres.c
diff options
context:
space:
mode:
authorPeter Geoghegan <pg@bowt.ie>2020-11-09 09:00:12 -0800
committerPeter Geoghegan <pg@bowt.ie>2020-11-09 09:00:12 -0800
commit180cf876d457c260291af070d883c5db5033cb3a (patch)
tree9f9cc7560421edf48a527cb5e1b7f3e76f231a9d /src/backend/tcop/postgres.c
parent098fb00799ffb026ff12c64bd21635f963cfc609 (diff)
downloadpostgresql-180cf876d457c260291af070d883c5db5033cb3a.tar.gz
postgresql-180cf876d457c260291af070d883c5db5033cb3a.zip
Remove ineffective heapam CHECK_FOR_INTERRUPTS().
Remove a CHECK_FOR_INTERRUPTS() call that could never actually handle an interrupt. 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 moving the CHECK_FOR_INTERRUPTS() to before the heap page buffer lock is acquired. That isn't enough to make the function responsive to interrupts, though. The index AM caller will still hold an exclusive buffer lock of its own.
Diffstat (limited to 'src/backend/tcop/postgres.c')
0 files changed, 0 insertions, 0 deletions