pgsql: Fix extstat collection when no stats are produced for a column

From: Alvaro Herrera <alvherre(at)alvh(dot)no-ip(dot)org>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Fix extstat collection when no stats are produced for a column
Date: 2017-11-29 03:03:58
Message-ID: E1eJsfG-0006Sy-79@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Fix extstat collection when no stats are produced for a column

This is a mistakenly placed conditional in bf2a691e02d7.

Reported by Justin Pryzby
Discussion: https://postgr.es/m/20171117214352.GE25796@telsasoft.com

Branch
------
REL_10_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/d4607590b6d8431906163280704e4023c625670c

Modified Files
--------------
src/backend/statistics/extended_stats.c | 17 +++++++++--------
1 file changed, 9 insertions(+), 8 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Alvaro Herrera 2017-11-29 03:20:07 pgsql: Make memset() use sizeof() rather than re-compute size
Previous Message Robert Haas 2017-11-28 19:21:07 pgsql: Fix wrong function name in comment.