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/access/hash | |
| parent | f7f989c9907b181f1785c699e6384e6eba8ae9a5 (diff) | |
| download | postgresql-be8300b18f26363c0b18c62fa884a6a62e26405e.tar.gz | |
Use Snapshot in heap access methods.
Diffstat (limited to 'src/backend/access/hash')
| -rw-r--r-- | src/backend/access/hash/hash.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/backend/access/hash/hash.c b/src/backend/access/hash/hash.c index e443f393ba..6e913e7da4 100644 --- a/src/backend/access/hash/hash.c +++ b/src/backend/access/hash/hash.c @@ -7,7 +7,7 @@ * * * IDENTIFICATION - * $Header: /cvsroot/pgsql/src/backend/access/hash/hash.c,v 1.18 1998/02/26 04:29:28 momjian Exp $ + * $Header: /cvsroot/pgsql/src/backend/access/hash/hash.c,v 1.19 1998/07/27 19:37:35 vadim Exp $ * * NOTES * This file contains only the public interface routines. @@ -121,7 +121,7 @@ hashbuild(Relation heap, #endif /* OMIT_PARTIAL_INDEX */ /* start a heap scan */ - hscan = heap_beginscan(heap, 0, false, 0, (ScanKey) NULL); + hscan = heap_beginscan(heap, 0, SnapshotNow, 0, (ScanKey) NULL); htup = heap_getnext(hscan, 0, &buffer); /* build the index */ |
