mirror of
https://git.postgresql.org/git/postgresql.git
synced 2026-02-16 03:17:00 +08:00
38 lines
873 B
C
38 lines
873 B
C
/*-------------------------------------------------------------------------
|
|
*
|
|
* valid.h--
|
|
* POSTGRES tuple qualification validity definitions.
|
|
*
|
|
*
|
|
* Copyright (c) 1994, Regents of the University of California
|
|
*
|
|
* $Id: valid.h,v 1.6 1997/09/08 02:34:32 momjian Exp $
|
|
*
|
|
*-------------------------------------------------------------------------
|
|
*/
|
|
#ifndef VALID_H
|
|
#define VALID_H
|
|
|
|
#include <utils/tqual.h>
|
|
#include <storage/bufpage.h>
|
|
#include <utils/rel.h>
|
|
|
|
/* ----------------
|
|
* extern decl's
|
|
* ----------------
|
|
*/
|
|
|
|
extern bool
|
|
heap_keytest(HeapTuple t, TupleDesc tupdesc,
|
|
int nkeys, ScanKey keys);
|
|
|
|
extern HeapTuple
|
|
heap_tuple_satisfies(ItemId itemId, Relation relation,
|
|
Buffer buffer, PageHeader disk_page,
|
|
TimeQual qual, int nKeys,
|
|
ScanKey key);
|
|
|
|
extern bool TupleUpdatedByCurXactAndCmd(HeapTuple t);
|
|
|
|
#endif /* VALID_H */
|