Re: Use strtoi64() in pgbench, replacing its open-coded implementation

Поиск
Список
Период
Сортировка
От Neil Chen
Тема Re: Use strtoi64() in pgbench, replacing its open-coded implementation
Дата
Msg-id CAA3qoJnvD7Av5gTkPF++isGU2xcjdq5M5ndR0xcFwR96Ro0b1g@mail.gmail.com
обсуждение исходный текст
Ответ на Use strtoi64() in pgbench, replacing its open-coded implementation  (Heikki Linnakangas <hlinnaka@iki.fi>)
Ответы Re: Use strtoi64() in pgbench, replacing its open-coded implementation
Список pgsql-hackers
Hi,

On Thu, Nov 20, 2025 at 8:57 AM Heikki Linnakangas <hlinnaka@iki.fi> wrote:
Here's a small patch to replace the int64 parsing code in pgbench with a
call to strtoi64(). Makes it a little simpler.


+1 on this simplification – it definitely makes the code cleaner.
One small note: the updated code doesn’t handle trailing spaces in the input string. Should we consider this a concern?
 

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