Robert Haas <robertmhaas(at)gmail(dot)com> writes:
> Yep. It would also lower the barrier to future innovations of that
> type, which would be a good thing, IMO. Unfortunately we'd likely
> need to continue to support the existing syntax at least for
> attstattarget, which is kind of a bummer, but seems managable. I
> think we could throw over the syntax for ALTER TABLE ... ADD
> STATISTICS DISTINCT since it is an 8.5-ism.
Yeah --- if we think we might want to do this, now is the time,
before we're stuck with supporting that syntax. (I was thinking
earlier today that attdistinct was already in 8.4, but it's not.)
regards, tom lane