Replace ALTER TABLE ... SET STATISTICS DISTINCT with a more general mechanism.

Robert Haas <rhaas@postgresql.org>

Commit: 76a47c0e7423891d4b4f0977312f46fec6c5c416
Author: Robert Haas <rhaas@postgresql.org>
Date: 2010-01-22T16:40:19Z
Releases: 9.0.0
Replace ALTER TABLE ... SET STATISTICS DISTINCT with a more general mechanism.

Attributes can now have options, just as relations and tablespaces do, and
the reloptions code is used to parse, validate, and store them.  For
simplicity and because these options are not performance critical, we store
them in a separate cache rather than the main relcache.

Thanks to Alex Hunsaker for the review.

Files