Re: Non-decimal integer literals

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Re: Non-decimal integer literals
Дата
Msg-id 3a3cc5e5-3d70-cdb9-f7a3-139d7d8742b9@enterprisedb.com
обсуждение исходный текст
Ответ на Re: Non-decimal integer literals  (Zhihong Yu <zyu@yugabyte.com>)
Список pgsql-hackers
On 25.11.21 16:46, Zhihong Yu wrote:
> For patch 3,
> 
> +int64
> +pg_strtoint64(const char *s)
> 
> How about naming the above function pg_scanint64()?
> pg_strtoint64xx() can be named pg_strtoint64() - this would align with 
> existing function:
> 
> pg_strtouint64(const char *str, char **endptr, int base)

That would be one way.  But the existing pg_strtointNN() functions are 
pretty widely used, so I would tend toward finding another name for the 
less used pg_strtouint64(), maybe pg_strtouint64x() ("extended").




В списке pgsql-hackers по дате отправления:

Предыдущее
От: Robert Haas
Дата:
Сообщение: Re: RecoveryInProgress() has critical side effects
Следующее
От: Robert Haas
Дата:
Сообщение: Re: Update stale code comment in CheckpointerMain()