init_fcache was being careless about using SearchSysCacheTuple result

Tom Lane <tgl@sss.pgh.pa.us>

Commit: 42ad25fcd139253912dcee8628f866fbf023ae27
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2000-06-06T17:44:25Z
Releases: 7.1.1
init_fcache was being careless about using SearchSysCacheTuple result
over multiple lookups --- it should use SearchSysCacheTupleCopy instead.
This accounts for rare failures like 'init_fcache: null probin for procedure 481'
when running concurrently with a VACUUM.

Files

PathChange+/−
src/backend/utils/cache/fcache.c modified +9 −4