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

Commit cfae62c

Browse files
committed
Some kibitzing about appropriate elog levels for sinval messages.
1 parent a033daf commit cfae62c

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

src/backend/storage/ipc/sinval.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
*
99
*
1010
* IDENTIFICATION
11-
* $Header: /cvsroot/pgsql/src/backend/storage/ipc/sinval.c,v 1.44 2002/03/02 21:39:29 momjian Exp $
11+
* $Header: /cvsroot/pgsql/src/backend/storage/ipc/sinval.c,v 1.45 2002/03/02 23:35:57 tgl Exp $
1212
*
1313
*-------------------------------------------------------------------------
1414
*/
@@ -66,7 +66,7 @@ SendSharedInvalidMessage(SharedInvalidationMessage *msg)
6666
insertOK = SIInsertDataEntry(shmInvalBuffer, msg);
6767
LWLockRelease(SInvalLock);
6868
if (!insertOK)
69-
elog(LOG, "SendSharedInvalidMessage: SI buffer overflow");
69+
elog(DEBUG3, "SendSharedInvalidMessage: SI buffer overflow");
7070
}
7171

7272
/*
@@ -108,7 +108,7 @@ ReceiveSharedInvalidMessages(
108108
if (getResult < 0)
109109
{
110110
/* got a reset message */
111-
elog(LOG, "ReceiveSharedInvalidMessages: cache state reset");
111+
elog(DEBUG3, "ReceiveSharedInvalidMessages: cache state reset");
112112
resetFunction();
113113
}
114114
else

src/backend/storage/ipc/sinvaladt.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
*
99
*
1010
* IDENTIFICATION
11-
* $Header: /cvsroot/pgsql/src/backend/storage/ipc/sinvaladt.c,v 1.44 2002/03/02 21:39:29 momjian Exp $
11+
* $Header: /cvsroot/pgsql/src/backend/storage/ipc/sinvaladt.c,v 1.45 2002/03/02 23:35:57 tgl Exp $
1212
*
1313
*-------------------------------------------------------------------------
1414
*/
@@ -119,7 +119,7 @@ SIBackendInit(SISeg *segP)
119119
MyBackendId = (stateP - &segP->procState[0]) + 1;
120120

121121
#ifdef INVALIDDEBUG
122-
elog(LOG, "SIBackendInit: backend id %d", MyBackendId);
122+
elog(DEBUG1, "SIBackendInit: backend id %d", MyBackendId);
123123
#endif /* INVALIDDEBUG */
124124

125125
/* mark myself active, with all extant messages already read */
@@ -218,7 +218,7 @@ SIInsertDataEntry(SISeg *segP, SharedInvalidationMessage *data)
218218
if (numMsgs == (MAXNUMMESSAGES * 70 / 100) &&
219219
IsUnderPostmaster)
220220
{
221-
elog(DEBUG1, "SIInsertDataEntry: table is 70%% full, signaling postmaster");
221+
elog(DEBUG3, "SIInsertDataEntry: table is 70%% full, signaling postmaster");
222222
SendPostmasterSignal(PMSIGNAL_WAKEN_CHILDREN);
223223
}
224224

0 commit comments

Comments
 (0)