Re: [COMMITTERS] pgsql: Better fix for determining minimum and maximum int64 values that

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Re: [COMMITTERS] pgsql: Better fix for determining minimum and maximum int64 values that
Дата
Msg-id 200702181758.25032.peter_e@gmx.net
обсуждение исходный текст
Список pgsql-hackers
Alvaro Herrera wrote:
> Peter Eisentraut wrote:
> > Log Message:
> > -----------
> > Better fix for determining minimum and maximum int64 values that
> > doesn't require stdint.h and works for "busted" int64.
>
> Nice trick -- is this worth being in c.h or thereabouts?

I was thinking about adding something like PG_INT64_MAX etc. to c.h, but
that might have required adding limit.h to c.h and perhaps other
rearrangements, and that would have gone too far for the moment.  If
more call sites use it, it should be refactored.

--
Peter Eisentraut
http://developer.postgresql.org/~petere/

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

Предыдущее
От: "Pavel Stehule"
Дата:
Сообщение: Re: return varchar from C function
Следующее
От: "Knut P. Lehre"
Дата:
Сообщение: FETCH from scroll cursor does not return count in libpq PQcmdStatus