diff options
| author | Vadim B. Mikheev <vadim4o@yahoo.com> | 1998-07-27 19:38:40 +0000 |
|---|---|---|
| committer | Vadim B. Mikheev <vadim4o@yahoo.com> | 1998-07-27 19:38:40 +0000 |
| commit | be8300b18f26363c0b18c62fa884a6a62e26405e (patch) | |
| tree | a44ac3f51d81a7616bd9c7912fa23a5e81c9d483 /src/backend/catalog/indexing.c | |
| parent | f7f989c9907b181f1785c699e6384e6eba8ae9a5 (diff) | |
| download | postgresql-be8300b18f26363c0b18c62fa884a6a62e26405e.tar.gz | |
Use Snapshot in heap access methods.
Diffstat (limited to 'src/backend/catalog/indexing.c')
| -rw-r--r-- | src/backend/catalog/indexing.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/backend/catalog/indexing.c b/src/backend/catalog/indexing.c index 7fc091b118..ae4846cb05 100644 --- a/src/backend/catalog/indexing.c +++ b/src/backend/catalog/indexing.c @@ -8,7 +8,7 @@ * * * IDENTIFICATION - * $Header: /cvsroot/pgsql/src/backend/catalog/indexing.c,v 1.18 1998/06/15 19:28:09 momjian Exp $ + * $Header: /cvsroot/pgsql/src/backend/catalog/indexing.c,v 1.19 1998/07/27 19:37:48 vadim Exp $ * *------------------------------------------------------------------------- */ @@ -241,7 +241,7 @@ CatalogIndexFetchTuple(Relation heapRelation, ItemPointer iptr; iptr = &indexRes->heap_iptr; - tuple = heap_fetch(heapRelation, false, iptr, &buffer); + tuple = heap_fetch(heapRelation, SnapshotNow, iptr, &buffer); pfree(indexRes); } else @@ -393,7 +393,7 @@ ProcedureNameIndexScan(Relation heapRelation, ItemPointer iptr; iptr = &indexRes->heap_iptr; - tuple = heap_fetch(heapRelation, false, iptr, &buffer); + tuple = heap_fetch(heapRelation, SnapshotNow, iptr, &buffer); pfree(indexRes); if (HeapTupleIsValid(tuple)) { @@ -458,7 +458,7 @@ ProcedureSrcIndexScan(Relation heapRelation, text *procSrc) ItemPointer iptr; iptr = &indexRes->heap_iptr; - tuple = heap_fetch(heapRelation, false, iptr, &buffer); + tuple = heap_fetch(heapRelation, SnapshotNow, iptr, &buffer); pfree(indexRes); } else |
