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

From Junwang Zhao
Subject Re: Non-decimal integer literals
Date
Msg-id CAEG8a3KKRUm2LV6EZqz-8rdkPSZuUUg_JZw8Jt2AZM+eHx0fFQ@mail.gmail.com
Whole thread Raw
In response to Re: Non-decimal integer literals  (Peter Eisentraut <peter.eisentraut@enterprisedb.com>)
List pgsql-hackers
On Tue, Oct 11, 2022 at 4:59 PM Peter Eisentraut
<peter.eisentraut@enterprisedb.com> wrote:
>
> On 11.10.22 05:29, Junwang Zhao wrote:
> > What do you think if we move these code into a static inline function? like:
> >
> > static inline char*
> > process_digits(char *ptr, int32 *result)
> > {
> > ...
> > }
>
> How would you handle the different ways each branch checks for valid
> digits and computes the value of each digit?
>

Didn't notice that, sorry for the noise ;(


-- 
Regards
Junwang Zhao



pgsql-hackers by date:

Previous
From: hubert depesz lubaczewski
Date:
Subject: Re: Is there any plan to support online schem change in postgresql?
Next
From: Alvaro Herrera
Date:
Subject: Re: create subscription - improved warning message