From: Andres Freund <andres@anarazel.de>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Andrew Dunstan <andrew@dunslane.net>
Cc: pgsql-committers@postgresql.org
Subject: Re: pgsql: Add pg_strnlen() a portable implementation of strlen.
Date: Mon, 9 Oct 2017 21:42:53 -0700
Message-ID: <20171010044253.yq7eiczk5ixomhpb@alap3.anarazel.de> (raw)
In-Reply-To: <23638.1507609552@sss.pgh.pa.us>
References: <E1e1gR2-0005fB-SI@gemulon.postgresql.org>
<20171009231509.nlptgdrtg2au6frn@alap3.anarazel.de>
<44745881-6095-e3ba-e8eb-23b1d92bffab@dunslane.net>
<23638.1507609552@sss.pgh.pa.us>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-committers>
On 2017-10-10 00:25:52 -0400, Tom Lane wrote:
> Andrew Dunstan <andrew@dunslane.net> writes:
> > frogmouth is using some code not yet released that makes the config
> > cache persistent. I just identified and fixed a stupid bug in the code
> > that obsoletes the cache, and I have removed frogmouth's cache file and
> > set it running again, so we'll see if that fixes things.
Interesting. Although an outdated cache file doesn't explain why
configure didn't even do the relevant check, no? This kinda sounds more
like configure as a whole is outdated, rather than it's cache file.
> I doubt it.
It'll quite possibly fix it, but probably not for good reasons.
Presumably after a proper configure run the fallback won't be used
anymore.
> I think the problem with this patch is that Andres has
> made libpgport dependent on libpgcommon, which is backwards, or at
> least circular. The module layering is supposed to go the other way.
Yes, quite possibly. At least one platform without strnlen [1], as well
as my local machine when intentionally marking strnlen as not available,
ran successfully. But that's likely just a difference in how/when
symbols are resolved.
I think the current split between common and port isn't particularly
meaningful. But as long as we have it, this probably belongs more in
port than in common.
Greetings,
Andres Freund
[1] https://buildfarm.postgresql.org/cgi-bin/show_stage_log.pl?nm=gharial&dt=2017-10-10%2000%3A31%3A...
--
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, andrew@dunslane.net
Subject: Re: pgsql: Add pg_strnlen() a portable implementation of strlen.
In-Reply-To: <20171010044253.yq7eiczk5ixomhpb@alap3.anarazel.de>
References: <E1e1gR2-0005fB-SI@gemulon.postgresql.org> <20171009231509.nlptgdrtg2au6frn@alap3.anarazel.de> <44745881-6095-e3ba-e8eb-23b1d92bffab@dunslane.net> <23638.1507609552@sss.pgh.pa.us> <20171010044253.yq7eiczk5ixomhpb@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