mirror of
https://github.com/postgres/postgres.git
synced 2025-11-06 07:49:08 +03:00
Move the HTSU_Result enum definition into snapshot.h, to avoid including
tqual.h into heapam.h. This makes all inclusion of tqual.h explicit. I also sorted alphabetically the includes on some source files.
This commit is contained in:
@@ -6,7 +6,7 @@
|
||||
* Portions Copyright (c) 1996-2008, PostgreSQL Global Development Group
|
||||
* Portions Copyright (c) 1994, Regents of the University of California
|
||||
*
|
||||
* $PostgreSQL: pgsql/src/include/utils/snapshot.h,v 1.1 2008/03/26 16:20:48 alvherre Exp $
|
||||
* $PostgreSQL: pgsql/src/include/utils/snapshot.h,v 1.2 2008/03/26 21:10:39 alvherre Exp $
|
||||
*
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
@@ -59,4 +59,17 @@ typedef struct SnapshotData
|
||||
CommandId curcid; /* in my xact, CID < curcid are visible */
|
||||
} SnapshotData;
|
||||
|
||||
/*
|
||||
* Result codes for HeapTupleSatisfiesUpdate. This should really be in
|
||||
* tqual.h, but we want to avoid including that file elsewhere.
|
||||
*/
|
||||
typedef enum
|
||||
{
|
||||
HeapTupleMayBeUpdated,
|
||||
HeapTupleInvisible,
|
||||
HeapTupleSelfUpdated,
|
||||
HeapTupleUpdated,
|
||||
HeapTupleBeingUpdated
|
||||
} HTSU_Result;
|
||||
|
||||
#endif /* SNAPSHOT_H */
|
||||
|
||||
Reference in New Issue
Block a user