mirror of
https://github.com/postgres/postgres.git
synced 2025-07-05 07:21:24 +03:00
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.
This commit is contained in:
@ -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);
|
||||
|
||||
|
Reference in New Issue
Block a user