diff options
author | Vadim B. Mikheev <vadim4o@yahoo.com> | 1998-08-01 15:26:38 +0000 |
---|---|---|
committer | Vadim B. Mikheev <vadim4o@yahoo.com> | 1998-08-01 15:26:38 +0000 |
commit | 0d78e8c1124cb7f44f17dec2d313c2ac4b871195 (patch) | |
tree | 2dc1bfd7b22c47eab4c869f6ae2995349250a28e /src/backend/utils/cache | |
parent | 83d3626b1f43cb507755d27e914e6788c17cd8ac (diff) |
Lmgr cleanup, new locking modes for LLL.
Diffstat (limited to 'src/backend/utils/cache')
-rw-r--r-- | src/backend/utils/cache/relcache.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/backend/utils/cache/relcache.c b/src/backend/utils/cache/relcache.c index 4a17d5e0f07..e039e2bfdc1 100644 --- a/src/backend/utils/cache/relcache.c +++ b/src/backend/utils/cache/relcache.c @@ -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); } } |