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 26569.1249259711@sss.pgh.pa.us
Whole thread Raw
In response to Re: ALTER TABLE ... ALTER COLUMN ... SET DISTINCT  (Robert Haas <robertmhaas@gmail.com>)
Responses Re: ALTER TABLE ... ALTER COLUMN ... SET DISTINCT  (Robert Haas <robertmhaas@gmail.com>)
List pgsql-hackers
Robert Haas <robertmhaas@gmail.com> writes:
> Thanks.  The changes all look good - except I'm curious why %g vs. %f?

So as not to add ".000000" unnecessarily.  Positive values for ndistinct
should be treated as integers.  (I considered adding an error check to
reject values like 20.5, but refrained...)
        regards, tom lane


pgsql-hackers by date:

Previous
From: Robert Haas
Date:
Subject: Re: ALTER TABLE ... ALTER COLUMN ... SET DISTINCT
Next
From: Joe Conway
Date:
Subject: Re: change in timestamp output from 8.3 to 8.4