Re: [HACKERS][REVIEW] macaddr 64 bit (EUI-64) datatype support

Поиск
Список
Период
Сортировка
От Stephen Frost
Тема Re: [HACKERS][REVIEW] macaddr 64 bit (EUI-64) datatype support
Дата
Msg-id 20170316032441.GG9812@tamriel.snowman.net
обсуждение исходный текст
Ответ на Re: [HACKERS][REVIEW] macaddr 64 bit (EUI-64) datatype support  (Andres Freund <andres@anarazel.de>)
Список pgsql-hackers
Andres,

* Andres Freund (andres@anarazel.de) wrote:
> I see a new warning due to, presumably, this:
> /home/andres/src/postgresql/src/backend/utils/adt/mac8.c: In function ‘hex2_to_uchar’:
> /home/andres/src/postgresql/src/backend/utils/adt/mac8.c:71:23: warning: comparison is always false due to limited
rangeof data type [-Wtype-limits] 
>   if (*ptr < 0 || *ptr > 127)

Pushed a fix for this (which also does a bit of other tidying too).

Thanks!

Stephen

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

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: [HACKERS] Changing references of password encryption to hashing
Следующее
От: Andres Freund
Дата:
Сообщение: [HACKERS] logical replication launcher crash on buildfarm