Re: Non-decimal integer literals - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Non-decimal integer literals
Date
Msg-id 2317133.1643155358@sss.pgh.pa.us
Whole thread Raw
In response to Re: Non-decimal integer literals  (Robert Haas <robertmhaas@gmail.com>)
Responses Re: Non-decimal integer literals
List pgsql-hackers
Robert Haas <robertmhaas@gmail.com> writes:
> On Tue, Jan 25, 2022 at 5:34 AM Peter Eisentraut
> <peter.eisentraut@enterprisedb.com> wrote:
>> Which part exactly?  There are several different changes proposed here.

> I was just going based on the description of the feature in your
> original post. If someone is hoping that int4in() will accept only
> ^\d+$ then they will be disappointed by this patch.

Maybe I misunderstood, but I thought this was about what you could
write as a SQL literal, not about the I/O behavior of the integer
types.  I'd be -0.1 on changing the latter.

            regards, tom lane



pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: ssl_passphrase_callback failure in REL_14_STABLE
Next
From: Tomas Vondra
Date:
Subject: Re: sequences vs. synchronous replication