summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNeil Conway <neilc@samurai.com>2008-06-09 18:23:05 +0000
committerNeil Conway <neilc@samurai.com>2008-06-09 18:23:05 +0000
commit837424605408c0772258291bf47e94f4d9111b9a (patch)
tree2896f5ac41240d317a72fd0a98d82f18712c3a84
parentda80a4b97e96c27067e04dccfc998a79408e441b (diff)
downloadpostgresql-837424605408c0772258291bf47e94f4d9111b9a.tar.gz
Further tweak for comment in CheckDeadLock(), per Tom.
-rw-r--r--src/backend/storage/lmgr/proc.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/backend/storage/lmgr/proc.c b/src/backend/storage/lmgr/proc.c
index b20cbe249f..9548b6c0fa 100644
--- a/src/backend/storage/lmgr/proc.c
+++ b/src/backend/storage/lmgr/proc.c
@@ -8,7 +8,7 @@
*
*
* IDENTIFICATION
- * $PostgreSQL: pgsql/src/backend/storage/lmgr/proc.c,v 1.200 2008/06/09 06:55:34 neilc Exp $
+ * $PostgreSQL: pgsql/src/backend/storage/lmgr/proc.c,v 1.201 2008/06/09 18:23:05 neilc Exp $
*
*-------------------------------------------------------------------------
*/
@@ -1171,9 +1171,9 @@ CheckDeadLock(void)
/*
* Check to see if we've been awoken by anyone in the interim.
*
- * If we can return and resume our transaction -- happy day. Before we
- * are awoken the process releasing the lock grants it to us so we know
- * that we don't have to wait anymore.
+ * If we have, we can return and resume our transaction -- happy day.
+ * Before we are awoken the process releasing the lock grants it to us
+ * so we know that we don't have to wait anymore.
*
* We check by looking to see if we've been unlinked from the wait queue.
* This is quicker than checking our semaphore's state, since no kernel