postgresql/src/backend
Tom Lane b87c1dcef3 Adjust "pgstat wait timeout" message to be a translatable LOG message.
Per discussion, change the log level of this message to be LOG not WARNING.
The main point of this change is to avoid causing buildfarm run failures
when the stats collector is exceptionally slow to respond, which it not
infrequently is on some of the smaller/slower buildfarm members.

This change does lose notice to an interactive user when his stats query
is looking at out-of-date stats, but the majority opinion (not necessarily
that of yours truly) is that WARNING messages would probably not get
noticed anyway on heavily loaded production systems.  A LOG message at
least ensures that the problem is recorded somewhere where bulk auditing
for the issue is possible.

Also, instead of an untranslated "pgstat wait timeout" message, provide
a translatable and hopefully more understandable message "using stale
statistics instead of current ones because stats collector is not
responding".  The original text was written hastily under the assumption
that it would never really happen in practice, which we now know to be
unduly optimistic.

Back-patch to all active branches, since we've seen the buildfarm issue
in all branches.
2015-01-19 23:01:44 -05:00
..
access Ensure unlogged tables are reset even if crash recovery errors out. 2014-11-15 01:22:32 +01:00
bootstrap Fix off-by-one loop count in MapArrayTypeName, and get rid of static array. 2014-12-16 15:35:46 -05:00
catalog Fix dependency searching for case where column is visited before table. 2014-11-11 17:00:28 -05:00
commands Reject ANALYZE commands during VACUUM FULL or another ANALYZE. 2015-01-07 22:34:30 -05:00
executor Fix use-of-already-freed-memory problem in EvalPlanQual processing. 2015-01-15 18:52:34 -05:00
foreign deflist_to_tuplestore dumped core on an option with no value. 2011-09-13 11:36:53 -04:00
lib Remove tabs after spaces in C comments 2014-05-06 11:26:26 -04:00
libpq Remove tabs after spaces in C comments 2014-05-06 11:26:26 -04:00
main Always set the six locale category environment variables in main(). 2015-01-07 22:35:16 -05:00
nodes Avoid core dump in _outPathInfo() for Path without a parent RelOptInfo. 2014-10-17 22:33:14 -04:00
optimizer Fix planning of SELECT FOR UPDATE on child table with partial index. 2014-12-11 21:02:38 -05:00
parser Revert "Fix bogus %name-prefix option syntax in all our Bison files." 2014-05-28 19:29:29 -04:00
po Translation updates 2014-07-21 00:58:58 -04:00
port Fix spinlock implementation for some !solaris sparc platforms. 2014-09-09 23:45:07 +02:00
postmaster Adjust "pgstat wait timeout" message to be a translatable LOG message. 2015-01-19 23:01:44 -05:00
regex Fix two low-probability memory leaks in regular expression parsing. 2014-07-18 13:00:52 -04:00
replication Prevent WAL files created by pg_basebackup -x/X from being archived again. 2015-01-03 20:54:13 +01:00
rewrite Add some errdetail to checkRuleResultList(). 2014-07-02 14:20:44 -04:00
snowball Fix ancient encoding error in hungarian.stop. 2014-06-10 22:48:52 -04:00
storage Prevent potentially hazardous compiler/cpu reordering during lwlock release. 2014-12-19 14:55:54 +01:00
tcop Fix segmentation fault that an empty prepared statement could cause. 2014-09-05 02:19:50 +09:00
tsearch Cope with more than 64K phrases in a thesaurus dictionary. 2014-11-06 20:53:02 -05:00
utils Fix namespace handling in xpath function 2015-01-17 22:37:07 -05:00
.gitignore Add gitignore for mingw/cygwin build outputs 2011-06-09 18:11:47 +02:00
common.mk Workaround for recursive make breakage 2011-01-13 09:32:06 +02:00
Makefile Fix PGXS support for building loadable modules on AIX. 2012-10-09 21:04:15 -04:00
nls.mk Translation updates 2013-02-03 23:58:38 -05:00