Fix extstat collection when no stats are produced for a column

Alvaro Herrera <alvherre@alvh.no-ip.org>

Commit: d4607590b6d8431906163280704e4023c625670c
Author: Alvaro Herrera <alvherre@alvh.no-ip.org>
Date: 2017-11-29T02:42:42Z
Releases: 10.2
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

Files

PathChange+/−
src/backend/statistics/extended_stats.c modified +9 −8

Discussion