From: Tom Lane <tgl@sss.pgh.pa.us>
To: Peter Eisentraut <peter.eisentraut@2ndquadrant.com>
Cc: David Rowley <david.rowley@2ndquadrant.com>
Cc: pgsql-committers <pgsql-committers@postgresql.org>
Subject: Re: pgsql: Move strtoint() to common
Date: Wed, 14 Mar 2018 11:23:35 -0400
Message-ID: <24955.1521041015@sss.pgh.pa.us> (raw)
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>
Peter Eisentraut <peter.eisentraut@2ndquadrant.com> writes:
> I think the problem is rather that we somehow need to tell it to link
> src/common/string.c into pgtypeslib.
Yeah, that's what I supposed.
Looking at pgtypeslib, there's already infrastructure for collecting
stuff from src/port/, and I see you added some for src/common/ in
its Makefile, but evidently not in the MSVC scripts. It looks like
the way the MSVC build works now is dependent on @pgportfiles.
You could invent parallel infrastructure for src/common/, but I wonder
whether the path of least resistance might not be to put strtoint()
into src/port/ instead.
regards, tom lane
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: tgl@sss.pgh.pa.us, peter.eisentraut@2ndquadrant.com, david.rowley@2ndquadrant.com
Subject: Re: pgsql: Move strtoint() to common
In-Reply-To: <24955.1521041015@sss.pgh.pa.us>
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> <24955.1521041015@sss.pgh.pa.us>
* 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