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/backend/utils/init/postinit.c | |
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/backend/utils/init/postinit.c')
-rw-r--r-- | src/backend/utils/init/postinit.c | 8 |
1 files changed, 1 insertions, 7 deletions
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); |