Re: ALTER TABLE ... ALTER COLUMN ... SET DISTINCT

From: Joshua Tolley <eggyknap(at)gmail(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: marcin mank <marcin(dot)mank(at)gmail(dot)com>, Robert Haas <robertmhaas(at)gmail(dot)com>, ITAGAKI Takahiro <itagaki(dot)takahiro(at)oss(dot)ntt(dot)co(dot)jp>, PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: ALTER TABLE ... ALTER COLUMN ... SET DISTINCT
Date: 2009-08-02 20:18:35
Message-ID: 20090802201835.GB18618@eddie
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Sun, Aug 02, 2009 at 01:23:27PM -0400, Tom Lane wrote:
> There wasn't any response to this comment:
>
> marcin mank <marcin(dot)mank(at)gmail(dot)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?

+1

--
Joshua Tolley / eggyknap
End Point Corporation
http://www.endpoint.com

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Robert Haas 2009-08-02 20:58:11 Re: revised hstore patch
Previous Message Pavel Stehule 2009-08-02 19:50:41 Re: WIP: to_char, support for EEEE format