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

From Peter Eisentraut
Subject Re: Non-decimal integer literals
Date
Msg-id 51dacd4a-3556-aa60-8d74-9d6b078fd97e@enterprisedb.com
Whole thread Raw
In response to Re: Non-decimal integer literals  (Junwang Zhao <zhjwpku@gmail.com>)
Responses Re: Non-decimal integer literals  (Junwang Zhao <zhjwpku@gmail.com>)
List pgsql-hackers
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?




pgsql-hackers by date:

Previous
From: bt22nakamorit
Date:
Subject: Re: ps command does not show walsender's connected db
Next
From: Peter Eisentraut
Date:
Subject: Re: list of acknowledgments for PG15