Re: B-Tree support function number 3 (strxfrm() optimization)
От | Michael Paquier |
---|---|
Тема | Re: B-Tree support function number 3 (strxfrm() optimization) |
Дата | |
Msg-id | CAB7nPqQ9BL_ZWfzMecMrXRDbgQPt4hj2-=xwNP0gk5U5P3FwCQ@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)
|
Список | pgsql-hackers |
On Tue, Jan 20, 2015 at 11:29 AM, Peter Geoghegan <pg@heroku.com> wrote: > On Mon, Jan 19, 2015 at 5:59 PM, Peter Geoghegan <pg@heroku.com> wrote: >> On Mon, Jan 19, 2015 at 5:33 PM, Alvaro Herrera >> <alvherre@2ndquadrant.com> wrote: >>> You did notice that bowerbird isn't building, right? >>> http://buildfarm.postgresql.org/cgi-bin/show_log.pl?nm=bowerbird&dt=2015-01-19%2023%3A54%3A46 >> >> Yeah. Looks like strxfrm_l() isn't available on the animal, for whatever reason. > > I think that the attached patch should at least fix that much. Maybe > the problem on the other animal is also explained by the lack of this, > since there could also be a MinGW-ish strxfrm_l(), I suppose. On MinGW-32, not that I know of: $ find . -name *.h | xgrep strxfrm_l ./lib/gcc/mingw32/4.8.1/include/c++/mingw32/bits/c++config.h:/* Define if strxfr m_l is available in <string.h>. */ ./mingw32/lib/gcc/mingw32/4.8.1/include/c++/mingw32/bits/c++config.h:/* Define i f strxfrm_l is available in <string.h>. */ strxfrm is defined in string.h though. 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? -- Michael
В списке pgsql-hackers по дате отправления: