From: Andres Freund <andres@anarazel.de>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: pgsql-committers@postgresql.org
Subject: Re: pgsql: Add port/strnlen support to libpq and ecpg Makefiles.
Date: Wed, 11 Oct 2017 08:49:11 -0700
Message-ID: <20171011154910.qwceculjehz5xyn3@alap3.anarazel.de> (raw)
In-Reply-To: <E1e2Ivg-0000Tx-DF@gemulon.postgresql.org>
References: <E1e2Ivg-0000Tx-DF@gemulon.postgresql.org>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-committers>
On 2017-10-11 15:28:16 +0000, Tom Lane wrote:
> Add port/strnlen support to libpq and ecpg Makefiles.
>
> In the wake of fffd651e8, any makefile that pulls in snprintf.c
> from src/port/ needs to be prepared to pull in strnlen.c as well.
> Per buildfarm.
Thanks.
> Modified Files
> --------------
> src/interfaces/ecpg/compatlib/.gitignore | 1 +
> src/interfaces/ecpg/compatlib/Makefile | 6 +++---
> src/interfaces/ecpg/ecpglib/.gitignore | 1 +
> src/interfaces/ecpg/ecpglib/Makefile | 7 ++++---
> src/interfaces/ecpg/pgtypeslib/.gitignore | 1 +
> src/interfaces/ecpg/pgtypeslib/Makefile | 7 ++++---
> src/interfaces/libpq/.gitignore | 1 +
> src/interfaces/libpq/Makefile | 6 +++---
> 8 files changed, 18 insertions(+), 12 deletions(-)
Phew. This is a bit a sad state of affairs. The separate libpq logic for
getting pgport is presumably because of possibly different threading
flags and then because of the appropriate compiler/linker flags for a
shared library?
Wonder if we shouldn't have variants of libpqport that support threading
and shared libraries, but built centrally. libpgport{-shared}{-mt} or
such. Formally speaking it's not quite right that we don't use
threading aware flags in pgbench for example. Some gcc platforms at
least pretty much assume everything is built with -pthread e.g.
Greetings,
Andres Freund
--
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers
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: andres@anarazel.de, tgl@sss.pgh.pa.us
Subject: Re: pgsql: Add port/strnlen support to libpq and ecpg Makefiles.
In-Reply-To: <20171011154910.qwceculjehz5xyn3@alap3.anarazel.de>
References: <E1e2Ivg-0000Tx-DF@gemulon.postgresql.org> <20171011154910.qwceculjehz5xyn3@alap3.anarazel.de>
* 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