From 85b436f7b1f06a6ffa8d2f29b03d6e440de18784 Mon Sep 17 00:00:00 2001 From: Robert Haas Date: Mon, 1 Aug 2011 08:24:45 -0400 Subject: [PATCH] Minor stylistic corrections. --- src/backend/storage/ipc/sinvaladt.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/storage/ipc/sinvaladt.c b/src/backend/storage/ipc/sinvaladt.c index 1ecf4bdab9..47f1a61560 100644 --- a/src/backend/storage/ipc/sinvaladt.c +++ b/src/backend/storage/ipc/sinvaladt.c @@ -471,7 +471,7 @@ SIInsertDataEntries(const SharedInvalidationMessage *data, int n) for (i = 0; i < segP->lastBackend; i++) { ProcState *stateP = &segP->procState[i]; - stateP->hasMessages = TRUE; + stateP->hasMessages = true; } LWLockRelease(SInvalWriteLock); @@ -542,7 +542,7 @@ SIGetDataEntries(SharedInvalidationMessage *data, int datasize) * Note that, if we don't end up reading all of the messages, we had * better be certain to reset this flag before exiting! */ - stateP->hasMessages = FALSE; + stateP->hasMessages = false; /* Fetch current value of maxMsgNum using spinlock */ { @@ -587,13 +587,13 @@ SIGetDataEntries(SharedInvalidationMessage *data, int datasize) * If we have caught up completely, reset our "signaled" flag so that * we'll get another signal if we fall behind again. * - * If we haven't catch up completely, reset the hasMessages flag so that + * If we haven't caught up completely, reset the hasMessages flag so that * we see the remaining messages next time. */ if (stateP->nextMsgNum >= max) stateP->signaled = false; else - stateP->hasMessages = TRUE; + stateP->hasMessages = true; LWLockRelease(SInvalReadLock); return n; -- 2.40.0