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

From Peter Eisentraut
Subject Re: Non-decimal integer literals
Date
Msg-id 1e3118df-bd41-0f36-7e02-14ff31392a84@enterprisedb.com
Whole thread Raw
In response to Re: Non-decimal integer literals  (John Naylor <john.naylor@enterprisedb.com>)
Responses Re: Non-decimal integer literals
List pgsql-hackers
On 16.08.21 17:32, John Naylor wrote:
> The one thing that jumped out at me on a cursory reading is 
> the {integer} rule, which seems to be used nowhere except to 
> call process_integer_literal, which must then inspect the token text to 
> figure out what type of integer it is. Maybe consider 4 separate 
> process_*_literal functions?

Agreed, that can be done in a simpler way.  Here is an updated patch.

Attachment

pgsql-hackers by date:

Previous
From: Michael Banck
Date:
Subject: Re: Patching documentation of ALTER TABLE re column type changes on binary-coercible fields
Next
From: Peter Eisentraut
Date:
Subject: Re: UNIQUE null treatment option