postgresql/src/backend
Alvaro Herrera bf2a691e02 Fix extended statistics with partial analyzes
Either because of a previous ALTER TABLE .. SET STATISTICS 0 or because
of being invoked with a partial column list, ANALYZE could fail to
acquire sufficient data to build extended statistics.  Previously, this
would draw an ERROR and fail to collect any statistics at all (extended
and regular).  Change things so that we raise a WARNING instead, and
remove a hint that was wrong in half the cases.

Reported by: David Rowley
Discussion: https://postgr.es/m/CAKJS1f9Kk0NF6Fg7TA=JUXsjpS9kX6NVu27pb5QDCpOYAvb-Og@mail.gmail.com
2017-04-17 14:00:47 -03:00
..
access Ensure BackgroundWorker struct contents are well-defined. 2017-04-16 23:23:44 -04:00
bootstrap Use one transaction while reading postgres.bki, not one per line. 2017-04-14 17:51:25 -04:00
catalog Add option to modify sync commit per subscription 2017-04-14 13:58:46 -04:00
commands Add option to modify sync commit per subscription 2017-04-14 13:58:46 -04:00
executor Avoid passing function pointers across process boundaries. 2017-04-14 23:50:16 -04:00
foreign
lib
libpq Improve the SASL authentication protocol. 2017-04-13 19:34:16 +03:00
main
nodes Mark finished Plan nodes with parallel_safe flags. 2017-04-12 15:13:34 -04:00
optimizer Mark finished Plan nodes with parallel_safe flags. 2017-04-12 15:13:34 -04:00
parser Sync addRangeTableEntryForENR() with its peer functions. 2017-04-16 14:02:47 -04:00
po
port Provide a way to control SysV shmem attach address in EXEC_BACKEND builds. 2017-04-15 17:27:38 -04:00
postmaster Avoid passing function pointers across process boundaries. 2017-04-14 23:50:16 -04:00
regex Fix regexport.c to behave sanely with lookaround constraints. 2017-04-13 17:18:35 -04:00
replication Ensure BackgroundWorker struct contents are well-defined. 2017-04-16 23:23:44 -04:00
rewrite Code review for c94e6942ce. 2017-04-12 11:35:11 -04:00
snowball
statistics Fix extended statistics with partial analyzes 2017-04-17 14:00:47 -03:00
storage
tcop
tsearch
utils Avoid passing function pointers across process boundaries. 2017-04-14 23:50:16 -04:00
.gitignore
common.mk
Makefile
nls.mk