From: Peter Eisentraut <peter.eisentraut@2ndquadrant.com>
To: David Rowley <david.rowley@2ndquadrant.com>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: pgsql-committers <pgsql-committers@postgresql.org>
Subject: Re: pgsql: Move strtoint() to common
Date: Wed, 14 Mar 2018 09:17:07 -0400
Message-ID: <4ca0838e-9cd3-bfae-b6b8-51ba0eabcabe@2ndquadrant.com> (raw)
In-Reply-To: <CAKJS1f85dabhgViVjqgo6La+Jcr6Mujor1j65O8hZX43CPjXQg@mail.gmail.com>
References: <E1evkoK-0006CC-Ce@gemulon.postgresql.org>
<29889.1520968202@sss.pgh.pa.us>
<CAKJS1f85dabhgViVjqgo6La+Jcr6Mujor1j65O8hZX43CPjXQg@mail.gmail.com>
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-committers@postgresql.org
Cc: peter.eisentraut@2ndquadrant.com, david.rowley@2ndquadrant.com, tgl@sss.pgh.pa.us
Subject: Re: pgsql: Move strtoint() to common
In-Reply-To: <4ca0838e-9cd3-bfae-b6b8-51ba0eabcabe@2ndquadrant.com>
References: <E1evkoK-0006CC-Ce@gemulon.postgresql.org> <29889.1520968202@sss.pgh.pa.us> <CAKJS1f85dabhgViVjqgo6La+Jcr6Mujor1j65O8hZX43CPjXQg@mail.gmail.com> <4ca0838e-9cd3-bfae-b6b8-51ba0eabcabe@2ndquadrant.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox