On Mon, Dec 9, 2013 at 1:18 PM, Jeff Janes <jeff(dot)janes(at)gmail(dot)com> wrote:> I don't recall ever tracing a bad plan down to a bad n_distinct.
It does happen. I've seen it several times.
-- Peter Geoghegan