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/include/access/relscan.h | |
| parent | f7f989c9907b181f1785c699e6384e6eba8ae9a5 (diff) | |
| download | postgresql-be8300b18f26363c0b18c62fa884a6a62e26405e.tar.gz | |
Use Snapshot in heap access methods.
Diffstat (limited to 'src/include/access/relscan.h')
| -rw-r--r-- | src/include/access/relscan.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/include/access/relscan.h b/src/include/access/relscan.h index f8d0aed604..efb970b44b 100644 --- a/src/include/access/relscan.h +++ b/src/include/access/relscan.h @@ -6,7 +6,7 @@ * * Copyright (c) 1994, Regents of the University of California * - * $Id: relscan.h,v 1.10 1997/11/24 05:09:39 momjian Exp $ + * $Id: relscan.h,v 1.11 1998/07/27 19:38:29 vadim Exp $ * *------------------------------------------------------------------------- */ @@ -16,6 +16,7 @@ #include <storage/buf.h> #include <utils/rel.h> #include <access/htup.h> +#include <utils/tqual.h> typedef ItemPointerData MarkData; @@ -32,8 +33,8 @@ typedef struct HeapScanDescData ItemPointerData rs_mctid; /* marked current tid */ ItemPointerData rs_mntid; /* marked next tid */ ItemPointerData rs_mcd; /* marked current delta XXX ??? */ + Snapshot rs_snapshot; /* snapshot to see */ bool rs_atend; /* restart scan at end? */ - bool rs_seeself; /* see self or not */ uint16 rs_cdelta; /* current delta in chain */ uint16 rs_nkeys; /* number of attributes in keys */ ScanKey rs_key; /* key descriptors */ |
