From 8d80b0d980c327edf162e20fdc829559e8aff224 Mon Sep 17 00:00:00 2001 From: Jan Wieck Date: Fri, 22 Jun 2001 19:16:24 +0000 Subject: Statistical system views (yet without the config stuff, but it's hard to keep such massive changes in sync with the tree so I need to get it in and work from there now). Jan --- src/backend/utils/cache/catcache.c | 4 ++-- src/backend/utils/cache/relcache.c | 8 ++++---- 2 files changed, 6 insertions(+), 6 deletions(-) (limited to 'src/backend/utils/cache') diff --git a/src/backend/utils/cache/catcache.c b/src/backend/utils/cache/catcache.c index d6901ea8391..f5f16e77188 100644 --- a/src/backend/utils/cache/catcache.c +++ b/src/backend/utils/cache/catcache.c @@ -8,7 +8,7 @@ * * * IDENTIFICATION - * $Header: /cvsroot/pgsql/src/backend/utils/cache/catcache.c,v 1.80 2001/06/19 19:42:16 tgl Exp $ + * $Header: /cvsroot/pgsql/src/backend/utils/cache/catcache.c,v 1.81 2001/06/22 19:16:23 wieck Exp $ * *------------------------------------------------------------------------- */ @@ -980,7 +980,7 @@ SearchCatCache(CatCache *cache, while ((indexRes = index_getnext(isd, ForwardScanDirection))) { tuple.t_self = indexRes->heap_iptr; - heap_fetch(relation, SnapshotNow, &tuple, &buffer); + heap_fetch(relation, SnapshotNow, &tuple, &buffer, isd); pfree(indexRes); if (tuple.t_data != NULL) { diff --git a/src/backend/utils/cache/relcache.c b/src/backend/utils/cache/relcache.c index d44c3dc2340..7b90122b9f2 100644 --- a/src/backend/utils/cache/relcache.c +++ b/src/backend/utils/cache/relcache.c @@ -8,7 +8,7 @@ * * * IDENTIFICATION - * $Header: /cvsroot/pgsql/src/backend/utils/cache/relcache.c,v 1.138 2001/06/18 03:35:07 tgl Exp $ + * $Header: /cvsroot/pgsql/src/backend/utils/cache/relcache.c,v 1.139 2001/06/22 19:16:23 wieck Exp $ * *------------------------------------------------------------------------- */ @@ -2257,7 +2257,7 @@ AttrDefaultFetch(Relation relation) break; tuple.t_self = indexRes->heap_iptr; - heap_fetch(adrel, SnapshotNow, &tuple, &buffer); + heap_fetch(adrel, SnapshotNow, &tuple, &buffer, sd); pfree(indexRes); if (tuple.t_data == NULL) continue; @@ -2364,7 +2364,7 @@ RelCheckFetch(Relation relation) break; tuple.t_self = indexRes->heap_iptr; - heap_fetch(rcrel, SnapshotNow, &tuple, &buffer); + heap_fetch(rcrel, SnapshotNow, &tuple, &buffer, sd); pfree(indexRes); if (tuple.t_data == NULL) continue; @@ -2502,7 +2502,7 @@ RelationGetIndexList(Relation relation) tuple.t_self = indexRes->heap_iptr; tuple.t_datamcxt = NULL; tuple.t_data = NULL; - heap_fetch(indrel, SnapshotNow, &tuple, &buffer); + heap_fetch(indrel, SnapshotNow, &tuple, &buffer, sd); pfree(indexRes); if (tuple.t_data == NULL) continue; -- cgit v1.2.3