Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 85b436f

Browse files
committed
Minor stylistic corrections.
1 parent 8a0fa9c commit 85b436f

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/backend/storage/ipc/sinvaladt.c

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -471,7 +471,7 @@ SIInsertDataEntries(const SharedInvalidationMessage *data, int n)
471471
for (i = 0; i < segP->lastBackend; i++)
472472
{
473473
ProcState *stateP = &segP->procState[i];
474-
stateP->hasMessages = TRUE;
474+
stateP->hasMessages = true;
475475
}
476476

477477
LWLockRelease(SInvalWriteLock);
@@ -542,7 +542,7 @@ SIGetDataEntries(SharedInvalidationMessage *data, int datasize)
542542
* Note that, if we don't end up reading all of the messages, we had
543543
* better be certain to reset this flag before exiting!
544544
*/
545-
stateP->hasMessages = FALSE;
545+
stateP->hasMessages = false;
546546

547547
/* Fetch current value of maxMsgNum using spinlock */
548548
{
@@ -587,13 +587,13 @@ SIGetDataEntries(SharedInvalidationMessage *data, int datasize)
587587
* If we have caught up completely, reset our "signaled" flag so that
588588
* we'll get another signal if we fall behind again.
589589
*
590-
* If we haven't catch up completely, reset the hasMessages flag so that
590+
* If we haven't caught up completely, reset the hasMessages flag so that
591591
* we see the remaining messages next time.
592592
*/
593593
if (stateP->nextMsgNum >= max)
594594
stateP->signaled = false;
595595
else
596-
stateP->hasMessages = TRUE;
596+
stateP->hasMessages = true;
597597

598598
LWLockRelease(SInvalReadLock);
599599
return n;

0 commit comments

Comments
 (0)