Commit bdc643e
committed
Fix access to just-closed relcache entry.
It might be impossible for this to cause a problem in non-debug builds,
since there'd be no opportunity for the relcache entry to get recycled
before the fetch. It blows up nicely with -DRELCACHE_FORCE_RELEASE plus
valgrind, though.
Evidently introduced by careless refactoring in commit f0e4475.
Back-patch accordingly.
Discussion: https://postgr.es/m/27543.1528758304@sss.pgh.pa.us1 parent f8795d2 commit bdc643e
1 file changed
+3
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11922 | 11922 | | |
11923 | 11923 | | |
11924 | 11924 | | |
11925 | | - | |
11926 | | - | |
11927 | | - | |
11928 | 11925 | | |
11929 | 11926 | | |
11930 | 11927 | | |
| 11928 | + | |
| 11929 | + | |
| 11930 | + | |
11931 | 11931 | | |
11932 | 11932 | | |
11933 | 11933 | | |
| |||
0 commit comments