aboutsummaryrefslogtreecommitdiff
path: root/src/backend/executor/nodeFunctionscan.c
diff options
context:
space:
mode:
authorAlvaro Herrera <alvherre@alvh.no-ip.org>2017-04-17 14:00:47 -0300
committerAlvaro Herrera <alvherre@alvh.no-ip.org>2017-04-17 14:00:47 -0300
commitbf2a691e02d7766f185d9d8e0f092222a5c0a129 (patch)
treef6d2965d74c032a161865890753de41865ed0435 /src/backend/executor/nodeFunctionscan.c
parent419a23b478ae760b797188341ddce5b41322684b (diff)
downloadpostgresql-bf2a691e02d7766f185d9d8e0f092222a5c0a129.tar.gz
postgresql-bf2a691e02d7766f185d9d8e0f092222a5c0a129.zip
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
Diffstat (limited to 'src/backend/executor/nodeFunctionscan.c')
0 files changed, 0 insertions, 0 deletions