Re: pgsql: Move strtoint() to common

Поиск
Список
Период
Сортировка
От David Rowley
Тема Re: pgsql: Move strtoint() to common
Дата
Msg-id CAKJS1f85dabhgViVjqgo6La+Jcr6Mujor1j65O8hZX43CPjXQg@mail.gmail.com
обсуждение исходный текст
Ответ на Re: pgsql: Move strtoint() to common  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: pgsql: Move strtoint() to common  (Peter Eisentraut <peter.eisentraut@2ndquadrant.com>)
Список pgsql-committers
On 14 March 2018 at 08:10, Tom Lane <tgl@sss.pgh.pa.us> wrote:
> Peter Eisentraut <peter_e@gmx.net> writes:
>> Move strtoint() to common
>
> Buildfarm seems to think this isn't quite baked for Windows.

Yeah, "restrict" seems to be C99, and the Microsoft compilers don't
quite know about that yet. The attached compiles fine for me on a
windows machine.

Changing "restrict" to "__restrict" also works, so it might,
longer-term, be worth some configure test and a PG_RESTICT macro so we
can allow this, assuming there are performance gains to be had.

-- 
 David Rowley                   http://www.2ndQuadrant.com/
 PostgreSQL Development, 24x7 Support, Training & Services

Вложения

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

Предыдущее
От: Michael Meskes
Дата:
Сообщение: pgsql: Fix double frees in ecpg.
Следующее
От: Peter Eisentraut
Дата:
Сообщение: pgsql: Add tests for reinit.c