aboutsummaryrefslogtreecommitdiff
path: root/src/backend/storage/ipc
diff options
context:
space:
mode:
authorBruce Momjian <bruce@momjian.us>2001-03-23 04:49:58 +0000
committerBruce Momjian <bruce@momjian.us>2001-03-23 04:49:58 +0000
commit7cf952e7b4ad4d0d603ad13ab91f55c3ec41affe (patch)
tree21c9d56c3701e984573ecc3ff40e72c0f63d5baf /src/backend/storage/ipc
parent4e911c847ce906094df6595700571b714d3bb537 (diff)
downloadpostgresql-7cf952e7b4ad4d0d603ad13ab91f55c3ec41affe.tar.gz
postgresql-7cf952e7b4ad4d0d603ad13ab91f55c3ec41affe.zip
Fix comments that were mis-wrapped, for Tom Lane.
Diffstat (limited to 'src/backend/storage/ipc')
-rw-r--r--src/backend/storage/ipc/ipc.c4
-rw-r--r--src/backend/storage/ipc/sinval.c12
2 files changed, 9 insertions, 7 deletions
diff --git a/src/backend/storage/ipc/ipc.c b/src/backend/storage/ipc/ipc.c
index e47f2f705e2..4d7fe72d28a 100644
--- a/src/backend/storage/ipc/ipc.c
+++ b/src/backend/storage/ipc/ipc.c
@@ -8,7 +8,7 @@
*
*
* IDENTIFICATION
- * $Header: /cvsroot/pgsql/src/backend/storage/ipc/ipc.c,v 1.65 2001/03/22 06:16:16 momjian Exp $
+ * $Header: /cvsroot/pgsql/src/backend/storage/ipc/ipc.c,v 1.66 2001/03/23 04:49:54 momjian Exp $
*
* NOTES
*
@@ -404,7 +404,7 @@ IpcSemaphoreLock(IpcSemaphoreId semId, int sem, bool interruptOK)
* and entering the semop() call. If a cancel/die interrupt occurs in
* that window, we would fail to notice it until after we acquire the
* lock (or get another interrupt to escape the semop()). We can
- * avoid this problem by temporarily setting ImmediateInterruptOK =
+ * avoid this problem by temporarily setting ImmediateInterruptOK to
* true before we do CHECK_FOR_INTERRUPTS; then, a die() interrupt in
* this interval will execute directly. However, there is a huge
* pitfall: there is another window of a few instructions after the
diff --git a/src/backend/storage/ipc/sinval.c b/src/backend/storage/ipc/sinval.c
index 526923593f9..fe6dc8141bc 100644
--- a/src/backend/storage/ipc/sinval.c
+++ b/src/backend/storage/ipc/sinval.c
@@ -8,7 +8,7 @@
*
*
* IDENTIFICATION
- * $Header: /cvsroot/pgsql/src/backend/storage/ipc/sinval.c,v 1.28 2001/03/22 03:59:45 momjian Exp $
+ * $Header: /cvsroot/pgsql/src/backend/storage/ipc/sinval.c,v 1.29 2001/03/23 04:49:54 momjian Exp $
*
*-------------------------------------------------------------------------
*/
@@ -319,11 +319,13 @@ GetSnapshotData(bool serializable)
xid < FirstTransactionId || xid >= snapshot->xmax)
{
- /*
- * Seems that there is no sense to store xid >=
- * snapshot->xmax (what we got from ReadNewTransactionId
- * above) in snapshot->xip - we just assume that all xacts
+ /*--------
+ * Seems that there is no sense to store
+ * xid >= snapshot->xmax
+ * (what we got from ReadNewTransactionId above)
+ * in snapshot->xip. We just assume that all xacts
* with such xid-s are running and may be ignored.
+ *--------
*/
continue;
}