diff options
author | Heikki Linnakangas <heikki.linnakangas@iki.fi> | 2011-06-16 16:16:34 +0300 |
---|---|---|
committer | Heikki Linnakangas <heikki.linnakangas@iki.fi> | 2011-06-16 16:17:16 +0300 |
commit | 9131bc772b0232454d7b625f11c7a9310a717f90 (patch) | |
tree | eb4fb0dbd555f463e827c6deb66f8e484594b842 /src/include | |
parent | 9340e643e4cbc11a7a5aaea0297236e9a8c07600 (diff) |
pgindent run of recent SSI changes. Also, remove an unnecessary #include.
Kevin Grittner
Diffstat (limited to 'src/include')
-rw-r--r-- | src/include/storage/predicate.h | 2 | ||||
-rw-r--r-- | src/include/storage/predicate_internals.h | 10 |
2 files changed, 6 insertions, 6 deletions
diff --git a/src/include/storage/predicate.h b/src/include/storage/predicate.h index aae5326fd89..7b5846982e1 100644 --- a/src/include/storage/predicate.h +++ b/src/include/storage/predicate.h @@ -54,7 +54,7 @@ extern void ReleasePredicateLocks(const bool isCommit); /* conflict detection (may also trigger rollback) */ extern void CheckForSerializableConflictOut(const bool valid, const Relation relation, const HeapTuple tuple, - const Buffer buffer, const Snapshot snapshot); + const Buffer buffer, const Snapshot snapshot); extern void CheckForSerializableConflictIn(const Relation relation, const HeapTuple tuple, const Buffer buffer); extern void CheckTableForSerializableConflictIn(const Relation relation); diff --git a/src/include/storage/predicate_internals.h b/src/include/storage/predicate_internals.h index b305c6a4c79..495983f3458 100644 --- a/src/include/storage/predicate_internals.h +++ b/src/include/storage/predicate_internals.h @@ -90,9 +90,9 @@ typedef struct SERIALIZABLEXACT int pid; /* pid of associated process */ } SERIALIZABLEXACT; -#define SXACT_FLAG_COMMITTED 0x00000001 /* already committed */ -#define SXACT_FLAG_PREPARED 0x00000002 /* about to commit */ -#define SXACT_FLAG_DOOMED 0x00000004 /* will roll back */ +#define SXACT_FLAG_COMMITTED 0x00000001 /* already committed */ +#define SXACT_FLAG_PREPARED 0x00000002 /* about to commit */ +#define SXACT_FLAG_DOOMED 0x00000004 /* will roll back */ /* * The following flag actually means that the flagged transaction has a * conflict out *to a transaction which committed ahead of it*. It's hard @@ -132,8 +132,8 @@ typedef struct PredXactListData /* * These global variables are maintained when registering and cleaning up * serializable transactions. They must be global across all backends, - * but are not needed outside the predicate.c source file. Protected - * by SerializableXactHashLock. + * but are not needed outside the predicate.c source file. Protected by + * SerializableXactHashLock. */ TransactionId SxactGlobalXmin; /* global xmin for active serializable * transactions */ |