Re: Underscores in numeric literals

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Re: Underscores in numeric literals
Дата
Msg-id de21d0dc-cc09-430d-f74e-1121028632cf@enterprisedb.com
обсуждение исходный текст
Ответ на Re: Underscores in numeric literals  (Dean Rasheed <dean.a.rasheed@gmail.com>)
Ответы Re: Underscores in numeric literals
Список pgsql-hackers
On 23.01.23 21:45, Dean Rasheed wrote:
> On Wed, 4 Jan 2023 at 09:28, Dean Rasheed <dean.a.rasheed@gmail.com> wrote:
>>
>> In addition, I think that strip_underscores() could then go away if
>> numeric_in() were made to handle underscores.
>>
>> Essentially then, that would move all responsibility for parsing
>> underscores and non-decimal integers to the datatype input functions,
>> or their support routines, rather than having it distributed.
> 
> Here's an update with those changes.

This looks good to me.

Did you have any thoughts about what to do with the float types?  I 
guess we could handle those in a separate patch?




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

Предыдущее
От: "Joel Jacobson"
Дата:
Сообщение: Re: [PATCH] Fix old thinko in formula to compute sweight in numeric_sqrt().
Следующее
От: Ilya Gladyshev
Дата:
Сообщение: Re: Progress report of CREATE INDEX for nested partitioned tables