Re: Issue with past commit: Allow fractional input values for integer GUCs ...

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Robert Haas <robertmhaas(at)gmail(dot)com>
Cc: Greg Nancarrow <gregn4422(at)gmail(dot)com>, PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Issue with past commit: Allow fractional input values for integer GUCs ...
Date: 2020-08-26 23:27:31
Message-ID: 2986340.1598484451@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Robert Haas <robertmhaas(at)gmail(dot)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

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Alvaro Herrera 2020-08-26 23:40:07 Re: ALTER TABLE .. DETACH PARTITION CONCURRENTLY
Previous Message Andy Fan 2020-08-26 23:17:07 How is bushy plans generated in join_search_one_lev