statistics buffer is full - Mailing list pgsql-admin

From Jeff Frost
Subject statistics buffer is full
Date
Msg-id Pine.LNX.4.64.0611081843120.23695@discord.home.frostconsultingllc.com
Whole thread Raw
Responses Re: statistics buffer is full  ("Joshua D. Drake" <jd@commandprompt.com>)
List pgsql-admin
What does the message 'statistics buffer is full' mean?  And if I saw lots of
these in my logs what sort of bad things would happen?  Presumably this is
related to the planner statistics?  Would I expect to have bad plans if this
happens and how would I resolve it?  This is what I found in the source, but
I'm not really sure what's going on here:

Part of:

pgstat_recvbuffer(void)
<snip>
                 /*
                  * As long as we have buffer space we add the socket to the read
                  * descriptor set.
                  */
                 if (msg_have <= (int) (PGSTAT_RECVBUFFERSZ - sizeof(PgStat_Msg))
)
                 {
                         FD_SET(pgStatSock, &rfds);
                         maxfd = pgStatSock;
                         overflow = false;
                 }
                 else
                 {
                         if (!overflow)
                         {
                                 ereport(LOG,
                                                 (errmsg("statistics buffer is full")));
                                 overflow = true;
                         }
                 }


--
Jeff Frost, Owner     <jeff@frostconsultingllc.com>
Frost Consulting, LLC     http://www.frostconsultingllc.com/
Phone: 650-780-7908    FAX: 650-649-1954

pgsql-admin by date:

Previous
From: "David J. Fenske"
Date:
Subject: Re: Can I substitute a recovered /data directory into a new installation?
Next
From: "Joshua D. Drake"
Date:
Subject: Re: statistics buffer is full