Re: Remove pg_strtouint64(), use strtoull() directly

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Remove pg_strtouint64(), use strtoull() directly
Дата
Msg-id 557476.1639521011@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Remove pg_strtouint64(), use strtoull() directly  (Peter Eisentraut <peter.eisentraut@enterprisedb.com>)
Список pgsql-hackers
Peter Eisentraut <peter.eisentraut@enterprisedb.com> writes:
> OK, makes sense.  Here is an alternative patch.  It introduces two 
> light-weight macros strtoi64() and strtou64() (compare e.g., strtoimax() 
> in POSIX) in c.h and removes pg_strtouint64().  This moves the 
> portability layer from numutils.c to c.h, so it's closer to the rest of 
> the int64 portability code.  And that way it is available to not just 
> server code.  And it resolves the namespace collision with the 
> pg_strtointNN() functions in numutils.c.

Works for me.  I'm not in a position to verify that this'll work
on Windows, but the buildfarm will tell us that quickly enough.

            regards, tom lane



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

Предыдущее
От: Joshua Brindle
Дата:
Сообщение: Re: Granting SET and ALTER SYSTE privileges for GUCs
Следующее
От: Dag Lem
Дата:
Сообщение: Re: daitch_mokotoff module