OSDN Git Service

Repair problem exposed by Jan's new parallel-regression-test scaffold:
authorTom Lane <tgl@sss.pgh.pa.us>
Sun, 21 Nov 1999 01:58:22 +0000 (01:58 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Sun, 21 Nov 1999 01:58:22 +0000 (01:58 +0000)
commit76ccf73f2bd3c8af621c24fd3ebddcc2ff21d807
tree4cc68c70e989fde1a29850fb97b6660e93d17e22
parent9ba0172f41c1f7ab577d056c29099de89affeca8
Repair problem exposed by Jan's new parallel-regression-test scaffold:
inval.c thought it could safely use the catcache to look up the OIDs of
system relations.  Not good, considering that inval.c could be called
during catcache loading, if a shared-inval message arrives.  Rip out the
lookup logic and instead use the known OIDs from pg_class.h.
src/backend/utils/cache/catcache.c
src/backend/utils/cache/inval.c
src/backend/utils/cache/relcache.c
src/backend/utils/init/postinit.c
src/include/utils/inval.h
src/include/utils/relcache.h