From 76ccf73f2bd3c8af621c24fd3ebddcc2ff21d807 Mon Sep 17 00:00:00 2001 From: Tom Lane Date: Sun, 21 Nov 1999 01:58:22 +0000 Subject: 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/init/postinit.c | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) (limited to 'src/backend/utils/init/postinit.c') diff --git a/src/backend/utils/init/postinit.c b/src/backend/utils/init/postinit.c index 72c87f16196..c5b3f06b8cb 100644 --- a/src/backend/utils/init/postinit.c +++ b/src/backend/utils/init/postinit.c @@ -7,7 +7,7 @@ * * * IDENTIFICATION - * $Header: /cvsroot/pgsql/src/backend/utils/init/postinit.c,v 1.52 1999/10/25 03:07:51 tgl Exp $ + * $Header: /cvsroot/pgsql/src/backend/utils/init/postinit.c,v 1.53 1999/11/21 01:58:21 tgl Exp $ * * NOTES * InitPostgres() is the function called from PostgresMain @@ -553,12 +553,6 @@ InitPostgres(char *name) /* database name */ */ InitUserid(); - /* - * Initialize local data in cache invalidation stuff - */ - if (!bootstrap) - InitLocalInvalidateData(); - if (lockingOff) LockDisable(true); -- cgit v1.2.3