- Notifications
You must be signed in to change notification settings - Fork5
Commit649e856
committed
In PrepareToInvalidateCacheTuple, don't force initialization of catalog
caches that we don't actually need to touch. This saves some trivialnumber of cycles and avoids certain cases of deadlock when doing concurrentVACUUM FULL on system catalogs. Per report from Gavin Roy.Backpatch to 8.2. In earlier versions, CatalogCacheInitializeCache didn'tlock the relation so there's no deadlock risk (though that certainly hadplenty of risks of its own).1 parent91215f6 commit649e856
1 file changed
+4
-4
lines changedLines changed: 4 additions & 4 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
8 | 8 |
| |
9 | 9 |
| |
10 | 10 |
| |
11 |
| - | |
| 11 | + | |
12 | 12 |
| |
13 | 13 |
| |
14 | 14 |
| |
| |||
1781 | 1781 |
| |
1782 | 1782 |
| |
1783 | 1783 |
| |
| 1784 | + | |
| 1785 | + | |
| 1786 | + | |
1784 | 1787 |
| |
1785 | 1788 |
| |
1786 | 1789 |
| |
1787 | 1790 |
| |
1788 |
| - | |
1789 |
| - | |
1790 |
| - | |
1791 | 1791 |
| |
1792 | 1792 |
| |
1793 | 1793 |
| |
|
0 commit comments
Comments
(0)