mirror of
https://github.com/postgres/postgres.git
synced 2025-07-02 09:02:37 +03:00
Lmgr cleanup, new locking modes for LLL.
This commit is contained in:
5
src/backend/utils/cache/relcache.c
vendored
5
src/backend/utils/cache/relcache.c
vendored
@ -7,7 +7,7 @@
|
||||
*
|
||||
*
|
||||
* IDENTIFICATION
|
||||
* $Header: /cvsroot/pgsql/src/backend/utils/cache/relcache.c,v 1.44 1998/07/27 19:38:23 vadim Exp $
|
||||
* $Header: /cvsroot/pgsql/src/backend/utils/cache/relcache.c,v 1.45 1998/08/01 15:26:29 vadim Exp $
|
||||
*
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
@ -1101,6 +1101,8 @@ formrdesc(char *relationName,
|
||||
*/
|
||||
RelationCacheInsert(relation);
|
||||
|
||||
RelationInitLockInfo(relation);
|
||||
|
||||
/*
|
||||
* Determining this requires a scan on pg_class, but to do the scan
|
||||
* the rdesc for pg_class must already exist. Therefore we must do
|
||||
@ -2021,6 +2023,7 @@ init_irels(void)
|
||||
ird->rd_support = support;
|
||||
|
||||
RelationCacheInsert(ird);
|
||||
RelationInitLockInfo(ird);
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user