Commit 441ef5e
committed
Fix relcache invalidation when relfilelocator is updated
In commit af0e7de, I removed a call to RelationCloseSmgr(), because
the dangling SMgrRelation was no longer an issue. However, we still
need the call when the relation's relfilelocator changes, so that the
new relfilelocator takes effect immediately.
Reported-by: Alexander Lakhin <exclusion@gmail.com>
Discussion: https://www.postgresql.org/message-id/987b1c8c-8c91-4847-ca0e-879f421680ff%40gmail.com1 parent 90fe7b7 commit 441ef5e
1 file changed
+3
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3060 | 3060 | | |
3061 | 3061 | | |
3062 | 3062 | | |
| 3063 | + | |
| 3064 | + | |
3063 | 3065 | | |
| 3066 | + | |
3064 | 3067 | | |
3065 | 3068 | | |
3066 | 3069 | | |
| |||
0 commit comments