summaryrefslogtreecommitdiff
path: root/src/backend/storage/lmgr
diff options
context:
space:
mode:
authorHeikki Linnakangas <heikki.linnakangas@iki.fi>2011-06-16 16:16:34 +0300
committerHeikki Linnakangas <heikki.linnakangas@iki.fi>2011-06-16 16:17:16 +0300
commit9131bc772b0232454d7b625f11c7a9310a717f90 (patch)
treeeb4fb0dbd555f463e827c6deb66f8e484594b842 /src/backend/storage/lmgr
parent9340e643e4cbc11a7a5aaea0297236e9a8c07600 (diff)
pgindent run of recent SSI changes. Also, remove an unnecessary #include.
Kevin Grittner
Diffstat (limited to 'src/backend/storage/lmgr')
-rw-r--r--src/backend/storage/lmgr/predicate.c11
1 files changed, 5 insertions, 6 deletions
diff --git a/src/backend/storage/lmgr/predicate.c b/src/backend/storage/lmgr/predicate.c
index a12f52ecc99..3678878f03e 100644
--- a/src/backend/storage/lmgr/predicate.c
+++ b/src/backend/storage/lmgr/predicate.c
@@ -483,10 +483,9 @@ SerializationNeededForRead(Relation relation, Snapshot snapshot)
* MySerializableXact, so that subsequent calls to this function can exit
* quickly.
*
- * A transaction is flagged as RO_SAFE if all concurrent R/W
- * transactions commit without having conflicts out to an earlier
- * snapshot, thus ensuring that no conflicts are possible for this
- * transaction.
+ * A transaction is flagged as RO_SAFE if all concurrent R/W transactions
+ * commit without having conflicts out to an earlier snapshot, thus
+ * ensuring that no conflicts are possible for this transaction.
*/
if (SxactIsROSafe(MySerializableXact))
{
@@ -498,7 +497,7 @@ SerializationNeededForRead(Relation relation, Snapshot snapshot)
if (!PredicateLockingNeededForRelation(relation))
return false;
- return true; /* no excuse to skip predicate locking */
+ return true; /* no excuse to skip predicate locking */
}
/*
@@ -516,7 +515,7 @@ SerializationNeededForWrite(Relation relation)
if (!PredicateLockingNeededForRelation(relation))
return false;
- return true; /* no excuse to skip predicate locking */
+ return true; /* no excuse to skip predicate locking */
}