forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit4fd05bb
committed
Fix deadlock in heap_compute_xid_horizon_for_tuples().
We can't call code that uses syscache while we hold buffer lockson a catalog relation. If passed such a relation, just fall backto the general effective_io_concurrency GUC rather than trying tolook up the containing tablespace's IO concurrency setting.We might find a better way to control prefetching in follow-upwork, but for now this is enough to avoid the deadlock introducedby commit558a916.Reviewed-by: Andres FreundDiagnosed-by: Peter GeogheganDiscussion:https://postgr.es/m/CA%2BhUKGLCwPF0S4Mk7S8qw%2BDK0Bq65LueN9rofAA3HHSYikW-Zw%40mail.gmail.comDiscussion:https://postgr.es/m/962831d8-c18d-180d-75fb-8b842e3a2742%40chrullrich.net1 parent12d46ac commit4fd05bb
1 file changed
+8
-1
lines changedLines changed: 8 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
6976 | 6976 |
| |
6977 | 6977 |
| |
6978 | 6978 |
| |
| 6979 | + | |
| 6980 | + | |
| 6981 | + | |
| 6982 | + | |
6979 | 6983 |
| |
6980 |
| - | |
| 6984 | + | |
| 6985 | + | |
| 6986 | + | |
| 6987 | + | |
6981 | 6988 |
| |
6982 | 6989 |
| |
6983 | 6990 |
| |
|
0 commit comments
Comments
(0)