Re: ALTER TABLE ... ALTER COLUMN ... SET DISTINCT - Mailing list pgsql-hackers

From Tom Lane
Subject Re: ALTER TABLE ... ALTER COLUMN ... SET DISTINCT
Date
Msg-id 2141.1249233807@sss.pgh.pa.us
Whole thread Raw
In response to Re: ALTER TABLE ... ALTER COLUMN ... SET DISTINCT  (marcin mank <marcin.mank@gmail.com>)
Responses Re: ALTER TABLE ... ALTER COLUMN ... SET DISTINCT
Re: ALTER TABLE ... ALTER COLUMN ... SET DISTINCT
List pgsql-hackers
There wasn't any response to this comment:

marcin mank <marcin.mank@gmail.com> writes:
> ALTER COLUMN SET DISTINCT
> feels like adding a unique constraint.

> ALTER COLUMN SET STATISTICS DISTINCT ?
> ALTER COLUMN SET STATISTICS NDISTINCT ?

I don't want to add a new keyword, but "SET STATISTICS DISTINCT" would
be an easy change.  Comments?
        regards, tom lane


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: WIP: to_char, support for EEEE format
Next
From: Pavel Stehule
Date:
Subject: Re: ALTER TABLE ... ALTER COLUMN ... SET DISTINCT