1
0
mirror of https://github.com/postgres/postgres.git synced 2025-10-25 13:17:41 +03:00

Massive commit to run PGINDENT on all *.c and *.h files.

This commit is contained in:
Bruce Momjian
1997-09-07 05:04:48 +00:00
parent 8fecd4febf
commit 1ccd423235
687 changed files with 150775 additions and 136888 deletions

View File

@@ -1,43 +1,45 @@
/*-------------------------------------------------------------------------
*
* tqual.h--
* POSTGRES time qualification definitions.
* POSTGRES time qualification definitions.
*
*
* Copyright (c) 1994, Regents of the University of California
*
* $Id: tqual.h,v 1.6 1997/08/19 21:40:50 momjian Exp $
* $Id: tqual.h,v 1.7 1997/09/07 05:03:03 momjian Exp $
*
* NOTE
* It may be desirable to allow time qualifications to indicate
* relative times.
* It may be desirable to allow time qualifications to indicate
* relative times.
*
*-------------------------------------------------------------------------
*/
#ifndef TQUAL_H
#ifndef TQUAL_H
#define TQUAL_H
#include <access/htup.h>
typedef struct TimeQualSpace {
char data[12];
} TimeQualSpace;
typedef struct TimeQualSpace
{
char data[12];
} TimeQualSpace;
typedef Pointer TimeQual;
typedef Pointer TimeQual;
/* Tuples valid as of StartTransactionCommand */
#define NowTimeQual ((TimeQual) NULL)
#define NowTimeQual ((TimeQual) NULL)
/* As above, plus updates in this command */
extern TimeQual SelfTimeQual;
extern TimeQual SelfTimeQual;
extern void setheapoverride(bool on);
extern bool heapisoverride(void);
extern void setheapoverride(bool on);
extern bool heapisoverride(void);
extern TimeQual TimeFormSnapshotTimeQual(AbsoluteTime time);
extern TimeQual TimeFormRangedTimeQual(AbsoluteTime startTime,
AbsoluteTime endTime);
extern bool HeapTupleSatisfiesTimeQual(HeapTuple tuple, TimeQual qual);
extern TimeQual
TimeFormRangedTimeQual(AbsoluteTime startTime,
AbsoluteTime endTime);
extern bool HeapTupleSatisfiesTimeQual(HeapTuple tuple, TimeQual qual);
#endif /* TQUAL_H */
#endif /* TQUAL_H */