mirror of
https://github.com/postgres/postgres.git
synced 2025-10-22 14:32:25 +03:00
Remove all time travel stuff. Small parser cleanup.
This commit is contained in:
@@ -6,7 +6,7 @@
|
||||
*
|
||||
* Copyright (c) 1994, Regents of the University of California
|
||||
*
|
||||
* $Id: heapam.h,v 1.21 1997/11/02 15:26:37 vadim Exp $
|
||||
* $Id: heapam.h,v 1.22 1997/11/20 23:23:31 momjian Exp $
|
||||
*
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
@@ -123,13 +123,12 @@ extern Relation heap_openr(char *relationName);
|
||||
extern void heap_close(Relation relation);
|
||||
extern HeapScanDesc
|
||||
heap_beginscan(Relation relation, int atend,
|
||||
TimeQual timeQual, unsigned nkeys, ScanKey key);
|
||||
bool seeself, unsigned nkeys, ScanKey key);
|
||||
extern void heap_rescan(HeapScanDesc sdesc, bool scanFromEnd, ScanKey key);
|
||||
extern void heap_endscan(HeapScanDesc sdesc);
|
||||
extern HeapTuple heap_getnext(HeapScanDesc scandesc, int backw, Buffer *b);
|
||||
extern HeapTuple
|
||||
heap_fetch(Relation relation, TimeQual timeQual,
|
||||
ItemPointer tid, Buffer *b);
|
||||
heap_fetch(Relation relation, bool seeself, ItemPointer tid, Buffer *b);
|
||||
extern Oid heap_insert(Relation relation, HeapTuple tup);
|
||||
extern int heap_delete(Relation relation, ItemPointer tid);
|
||||
extern int
|
||||
|
@@ -6,7 +6,7 @@
|
||||
*
|
||||
* Copyright (c) 1994, Regents of the University of California
|
||||
*
|
||||
* $Id: relscan.h,v 1.8 1997/09/08 21:50:56 momjian Exp $
|
||||
* $Id: relscan.h,v 1.9 1997/11/20 23:23:33 momjian Exp $
|
||||
*
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
@@ -33,7 +33,7 @@ typedef struct HeapScanDescData
|
||||
ItemPointerData rs_mntid; /* marked next tid */
|
||||
ItemPointerData rs_mcd; /* marked current delta XXX ??? */
|
||||
bool rs_atend; /* restart scan at end? */
|
||||
TimeQual rs_tr; /* time qualification */
|
||||
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 */
|
||||
|
@@ -6,7 +6,7 @@
|
||||
*
|
||||
* Copyright (c) 1994, Regents of the University of California
|
||||
*
|
||||
* $Id: valid.h,v 1.9 1997/11/02 15:26:46 vadim Exp $
|
||||
* $Id: valid.h,v 1.10 1997/11/20 23:23:35 momjian Exp $
|
||||
*
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
@@ -113,7 +113,7 @@ do \
|
||||
relation, \
|
||||
buffer, \
|
||||
disk_page, \
|
||||
qual, \
|
||||
seeself, \
|
||||
nKeys, \
|
||||
key, \
|
||||
result) \
|
||||
@@ -144,7 +144,7 @@ do \
|
||||
{ \
|
||||
uint16 _infomask = _tuple->t_infomask; \
|
||||
\
|
||||
_res = HeapTupleSatisfiesTimeQual(_tuple, (qual)); \
|
||||
_res = HeapTupleSatisfiesVisibility(_tuple, (seeself)); \
|
||||
if (_tuple->t_infomask != _infomask) \
|
||||
SetBufferCommitInfoNeedsSave(buffer); \
|
||||
if (_res) \
|
||||
|
Reference in New Issue
Block a user