On 26.01.22 01:02, Tom Lane wrote:
Robert Haas <robertmh...@gmail.com> writes:
On Tue, Jan 25, 2022 at 5:34 AM Peter Eisentraut
<peter.eisentr...@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.

I think it would be strange if I/O routines would accept a different syntax from the literals. Also, the behavior of a cast from string/text to a numeric type is usually defined in terms of what the literal syntax is, so they need to be aligned.


Reply via email to