Re: pgsql: Move strtoint() to common

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Re: pgsql: Move strtoint() to common
Дата
Msg-id 4ca0838e-9cd3-bfae-b6b8-51ba0eabcabe@2ndquadrant.com
обсуждение исходный текст
Ответ на Re: pgsql: Move strtoint() to common  (David Rowley <david.rowley@2ndquadrant.com>)
Ответы Re: pgsql: Move strtoint() to common  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-committers
On 3/13/18 21:10, David Rowley wrote:
> 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.

We have a configure test for it and we already use it elsewhere.  Is it
not working?

I think the problem is rather that we somehow need to tell it to link
src/common/string.c into pgtypeslib.

-- 
Peter Eisentraut              http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services


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

Предыдущее
От: Peter Eisentraut
Дата:
Сообщение: pgsql: Add tests for reinit.c
Следующее
От: Stephen Frost
Дата:
Сообщение: pgsql: Fix comment for ExecProcessReturning