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

From Peter Eisentraut
Subject Re: Non-decimal integer literals
Date
Msg-id 164fea20-dae9-d0fb-9917-772cd0068d29@enterprisedb.com
Whole thread Raw
In response to Re: Non-decimal integer literals  (Dean Rasheed <dean.a.rasheed@gmail.com>)
Responses Re: Non-decimal integer literals
List pgsql-hackers
On 23.11.22 17:25, Dean Rasheed wrote:
> Taking a quick look, I noticed that there are no tests for negative
> values handled in the parser.
> 
> Giving that a spin shows that make_const() fails to correctly identify
> the base of negative non-decimal integers in the T_Float case, causing
> it to fall through to numeric_in() and fail:

Fixed in new patch.

Attachment

pgsql-hackers by date:

Previous
From: Daniel Gustafsson
Date:
Subject: Re: TAP output format in pg_regress
Next
From: Peter Eisentraut
Date:
Subject: Re: Transparent column encryption