summaryrefslogtreecommitdiff
path: root/src/backend/access/gist/gist.c
diff options
context:
space:
mode:
authorVadim B. Mikheev <vadim4o@yahoo.com>1998-07-27 19:38:40 +0000
committerVadim B. Mikheev <vadim4o@yahoo.com>1998-07-27 19:38:40 +0000
commitbe8300b18f26363c0b18c62fa884a6a62e26405e (patch)
treea44ac3f51d81a7616bd9c7912fa23a5e81c9d483 /src/backend/access/gist/gist.c
parentf7f989c9907b181f1785c699e6384e6eba8ae9a5 (diff)
downloadpostgresql-be8300b18f26363c0b18c62fa884a6a62e26405e.tar.gz
Use Snapshot in heap access methods.
Diffstat (limited to 'src/backend/access/gist/gist.c')
-rw-r--r--src/backend/access/gist/gist.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/backend/access/gist/gist.c b/src/backend/access/gist/gist.c
index 5003204df4..1445ff7f2e 100644
--- a/src/backend/access/gist/gist.c
+++ b/src/backend/access/gist/gist.c
@@ -170,7 +170,7 @@ gistbuild(Relation heap,
econtext = NULL;
}
#endif /* OMIT_PARTIAL_INDEX */
- scan = heap_beginscan(heap, 0, false, 0, (ScanKey) NULL);
+ scan = heap_beginscan(heap, 0, SnapshotNow, 0, (ScanKey) NULL);
htup = heap_getnext(scan, 0, &buffer);
/* int the tuples as we insert them */