Re: [Patch] Fix enum type mismatch

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: [Patch] Fix enum type mismatch
Дата
Msg-id 28346.1258155906@sss.pgh.pa.us
обсуждение исходный текст
Ответ на [Patch] Fix enum type mismatch  (Zdenek Kotala <Zdenek.Kotala@Sun.COM>)
Список pgsql-hackers
Zdenek Kotala <Zdenek.Kotala@Sun.COM> writes:
> Attached patch fixed following warning:
> "../../../src/include/nodes/parsenodes.h", line 487: warning: enumerator
> value overflows INT_MAX (2147483647)

> The reason is clear, enum is int not unsigned.

I think the compiler is entitled to assume either, actually.
But your fix is good either way.  Applied.
        regards, tom lane


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: I need to code a float with magnitude (ie unit of measure)
Следующее
От: Andrew Gierth
Дата:
Сообщение: Aggregate ORDER BY docs patch, first attempt