Re: Issue with past commit: Allow fractional input values for integer GUCs ... - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Issue with past commit: Allow fractional input values for integer GUCs ...
Date
Msg-id 2986340.1598484451@sss.pgh.pa.us
Whole thread Raw
In response to Re: Issue with past commit: Allow fractional input values for integer GUCs ...  (Robert Haas <robertmhaas@gmail.com>)
List pgsql-hackers
Robert Haas <robertmhaas@gmail.com> writes:
> While the new behavior seems fine -- and indeed convenient -- for GUCs
> that are numeric with a unit, it does not seem very nice at all for
> GUCs that are unitless integers.

I find that distinction to be entirely without merit; not least because
we also have unitless float GUCs.  I think the fact that we have some
float and some integer GUCs is an implementation detail more than a
fundamental property --- especially since SQL considers integers
to be just the scale-zero subset of numerics.  I recognize that your
opinion is different, but to me it seems fine as-is.

            regards, tom lane



pgsql-hackers by date:

Previous
From: Andy Fan
Date:
Subject: How is bushy plans generated in join_search_one_lev
Next
From: Alvaro Herrera
Date:
Subject: Re: ALTER TABLE .. DETACH PARTITION CONCURRENTLY