Robert Haas wrote, and Tom Lane committed (on 2nd of August) patch which adds interesting capability: Log Message: ----------- Add ALTER TABLE ... ALTER COLUMN ... SET STATISTICS DISTINCT   Robert Haas Log message is rather terse, so what does it exactly do?

Today another great patch, committed by Tom Lane. This patch was written by Martin Pihlak (with some edits by Tom).