pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Andres Freund <andres@anarazel.de>
Cc: pgsql-committers@postgresql.org
Subject: Re: pgsql: Add port/strnlen support to libpq and ecpg Makefiles.
Date: Wed, 11 Oct 2017 11:58:58 -0400
Message-ID: <20091.1507737538@sss.pgh.pa.us> (raw)
In-Reply-To: <20171011154910.qwceculjehz5xyn3@alap3.anarazel.de>
References: <E1e2Ivg-0000Tx-DF@gemulon.postgresql.org>
	<20171011154910.qwceculjehz5xyn3@alap3.anarazel.de>
List-Unsubscribe:  <mailto:majordomo@postgresql.org?body=unsub%20pgsql-committers>

Andres Freund <andres@anarazel.de> writes:
> 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?

I don't see why threading would matter, but building with -fPIC or
not is definitely an issue.

I agree the PITA factor of the current approach keeps increasing.
It sounds a bit silly to build libpgport three ways, but maybe
we should just do that.

Or conceivably we should just build the FE version of libpgport.a
with -fPIC and not worry about whether that loses some efficiency
for client programs.  A lot of distros are effectively forcing
that, or even -fPIE, anyway.

			regards, tom lane


-- 
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers



view thread (6+ messages)  latest in thread

Message-ID: <20091.1507737538@sss.pgh.pa.us>
Permalink:  ../20091.1507737538@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/20091.1507737538@sss.pgh.pa.us

 · 

reply

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, andres@anarazel.de
  Subject: Re: pgsql: Add port/strnlen support to libpq and ecpg Makefiles.
  In-Reply-To: <20091.1507737538@sss.pgh.pa.us>
  References: <E1e2Ivg-0000Tx-DF@gemulon.postgresql.org> <20171011154910.qwceculjehz5xyn3@alap3.anarazel.de> <20091.1507737538@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