diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 1999-11-21 01:58:22 +0000 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 1999-11-21 01:58:22 +0000 |
commit | 76ccf73f2bd3c8af621c24fd3ebddcc2ff21d807 (patch) | |
tree | 4cc68c70e989fde1a29850fb97b6660e93d17e22 /src/include/utils/relcache.h | |
parent | 9ba0172f41c1f7ab577d056c29099de89affeca8 (diff) | |
download | postgresql-76ccf73f2bd3c8af621c24fd3ebddcc2ff21d807.tar.gz postgresql-76ccf73f2bd3c8af621c24fd3ebddcc2ff21d807.zip |
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.
Diffstat (limited to 'src/include/utils/relcache.h')
-rw-r--r-- | src/include/utils/relcache.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/include/utils/relcache.h b/src/include/utils/relcache.h index 95fab3b22ae..2aeec820dff 100644 --- a/src/include/utils/relcache.h +++ b/src/include/utils/relcache.h @@ -6,7 +6,7 @@ * * Copyright (c) 1994, Regents of the University of California * - * $Id: relcache.h,v 1.15 1999/10/03 23:55:38 tgl Exp $ + * $Id: relcache.h,v 1.16 1999/11/21 01:58:20 tgl Exp $ * *------------------------------------------------------------------------- */ @@ -32,8 +32,6 @@ extern void RelationRebuildRelation(Relation relation); extern void RelationIdInvalidateRelationCacheByRelationId(Oid relationId); -extern void RelationIdInvalidateRelationCacheByAccessMethodId(Oid accessMethodId); - extern void RelationCacheInvalidate(bool onlyFlushReferenceCountZero); extern void RelationRegisterRelation(Relation relation); |