Re: B-Tree support function number 3 (strxfrm() optimization)

Поиск
Список
Период
Сортировка
От David Rowley
Тема Re: B-Tree support function number 3 (strxfrm() optimization)
Дата
Msg-id CAApHDvr9rJmfi-zYbfe0hPt2ArppDB85u-6N-2Hn4j8oOaCypQ@mail.gmail.com
обсуждение исходный текст
Ответ на Re: B-Tree support function number 3 (strxfrm() optimization)  (Peter Geoghegan <pg@heroku.com>)
Ответы Re: B-Tree support function number 3 (strxfrm() optimization)  (Robert Haas <robertmhaas@gmail.com>)
Список pgsql-hackers
On 20 January 2015 at 17:10, Peter Geoghegan <pg@heroku.com> wrote:
On Mon, Jan 19, 2015 at 7:47 PM, Michael Paquier
<michael.paquier@gmail.com> wrote:

> With your patch applied, the failure with MSVC disappeared, but there
> is still a warning showing up:
> (ClCompile target) ->
>   src\backend\lib\hyperloglog.c(73): warning C4334: '<<' : result of
> 32-bit shift implicitly converted to 64 bits (was 64-bit shift
> intended?

That seems harmless. I suggest an explicit cast to "Size" here.

This caught my eye too.

I agree about casting to Size.

Patch attached.

Regards

David Rowley 
Вложения

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

Предыдущее
От: Amit Kapila
Дата:
Сообщение: Re: Proposal: knowing detail of config files via SQL
Следующее
От: Noah Misch
Дата:
Сообщение: Re: jsonb, unicode escapes and escaped backslashes