summaryrefslogtreecommitdiff
path: root/src/include/storage/predicate_internals.h
diff options
context:
space:
mode:
authorHeikki Linnakangas <heikki.linnakangas@iki.fi>2011-06-03 12:45:42 +0300
committerHeikki Linnakangas <heikki.linnakangas@iki.fi>2011-06-03 12:45:42 +0300
commitc8630919e08c2e91435807caecb4b44c7722bf9e (patch)
tree41358ca06cd525d58e54a33161aaf191c8939091 /src/include/storage/predicate_internals.h
parent52caa355ee6fd34670b6387e14c821d9128e5c88 (diff)
downloadpostgresql-c8630919e08c2e91435807caecb4b44c7722bf9e.tar.gz
SSI comment fixes and enhancements. Notably, document that the conflict-out
flag actually means that the transaction has a conflict out to a transaction that committed before the flagged transaction. Kevin Grittner
Diffstat (limited to 'src/include/storage/predicate_internals.h')
-rw-r--r--src/include/storage/predicate_internals.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/include/storage/predicate_internals.h b/src/include/storage/predicate_internals.h
index bd42004c2c..b144ab319a 100644
--- a/src/include/storage/predicate_internals.h
+++ b/src/include/storage/predicate_internals.h
@@ -92,6 +92,11 @@ typedef struct SERIALIZABLEXACT
#define SXACT_FLAG_ROLLED_BACK 0x00000001
#define SXACT_FLAG_COMMITTED 0x00000002
+/*
+ * The following flag actually means that the flagged transaction has a
+ * conflict out *to a transaction which committed ahead of it*. It's hard
+ * to get that into a name of a reasonable length.
+ */
#define SXACT_FLAG_CONFLICT_OUT 0x00000004
#define SXACT_FLAG_READ_ONLY 0x00000008
#define SXACT_FLAG_DID_WRITE 0x00000010