From be8300b18f26363c0b18c62fa884a6a62e26405e Mon Sep 17 00:00:00 2001 From: "Vadim B. Mikheev" Date: Mon, 27 Jul 1998 19:38:40 +0000 Subject: Use Snapshot in heap access methods. --- src/backend/access/gist/gist.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/backend/access/gist/gist.c') 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 */ -- cgit v1.2.1