From: Andrew Dunstan <andrew.dunstan@2ndquadrant.com>
To: Andres Freund <andres@anarazel.de>
Cc: pgsql-committers@postgresql.org
Subject: Re: pgsql: Add pg_strnlen() a portable implementation of strlen.
Date: Tue, 10 Oct 2017 17:34:17 -0400
Message-ID: <6c8a3662-289a-efac-fe07-aff43eb315db@2ndQuadrant.com> (raw)
In-Reply-To: <20171010194818.p2hhod32ezmvhryb@alap3.anarazel.de>
References: <E1e1gR2-0005fB-SI@gemulon.postgresql.org>
<20171009231509.nlptgdrtg2au6frn@alap3.anarazel.de>
<44745881-6095-e3ba-e8eb-23b1d92bffab@dunslane.net>
<20171010194818.p2hhod32ezmvhryb@alap3.anarazel.de>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-committers>
On 10/10/2017 03:48 PM, Andres Freund wrote:
> On 2017-10-09 23:33:36 -0400, Andrew Dunstan wrote:
>>
>> On 10/09/2017 07:15 PM, Andres Freund wrote:
>>> Hi Andrew,
>>>
>>> On 2017-10-09 22:22:04 +0000, Andres Freund wrote:
>>>> Add pg_strnlen() a portable implementation of strlen.
>>>>
>>>> As the OS version is likely going to be more optimized, fall back to
>>>> it if available, as detected by configure.
>>> I'm a bit confused, frogmouth
>>> https://buildfarm.postgresql.org/cgi-bin/show_log.pl?nm=frogmouth&dt=2017-10-09%2022%3A30%3A41
>>> shows that it compiled the new code, but the configure output doesn't
>>> show it ran through the new configure test. Additionally, without the
>>> the config define, this should result in the replacement being
>>> used. Which doesn't seem to be the case either.
>>>
>>> Kinda sounds like this used some halfway outdated build or such?
>>>
>>
>>
>> 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.
> As far as I can tell it's still somehow using a configure from before
> the last commits:
> https://buildfarm.postgresql.org/cgi-bin/show_stage_log.pl?nm=frogmouth&dt=2017-10-10%2018%3A35%...
>
> Note that it's not running the new test.
>
> (there's definitely fixes to be made to where strnlen's replacement is
> located, but regardless, this needs to be fixed too)
>
This test is governed by the test at line 946 of configure.in. You need
to move it somewhere else.
cheers
andrew
--
Andrew Dunstan https://www.2ndQuadrant.com
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services
--
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: andrew.dunstan@2ndquadrant.com, andres@anarazel.de
Subject: Re: pgsql: Add pg_strnlen() a portable implementation of strlen.
In-Reply-To: <6c8a3662-289a-efac-fe07-aff43eb315db@2ndQuadrant.com>
References: <E1e1gR2-0005fB-SI@gemulon.postgresql.org> <20171009231509.nlptgdrtg2au6frn@alap3.anarazel.de> <44745881-6095-e3ba-e8eb-23b1d92bffab@dunslane.net> <20171010194818.p2hhod32ezmvhryb@alap3.anarazel.de> <6c8a3662-289a-efac-fe07-aff43eb315db@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