Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e20W7-0002FJ-Vi for pgsql-committers@arkaria.postgresql.org; Tue, 10 Oct 2017 19:48:40 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1e20W7-0003vj-Gi for pgsql-committers@arkaria.postgresql.org; Tue, 10 Oct 2017 19:48:39 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1e20Vs-0003U4-3N for pgsql-committers@postgresql.org; Tue, 10 Oct 2017 19:48:24 +0000 Received: from out1-smtp.messagingengine.com ([66.111.4.25]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1e20Vo-0004l7-RD for pgsql-committers@postgresql.org; Tue, 10 Oct 2017 19:48:22 +0000 Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.nyi.internal (Postfix) with ESMTP id 70AB220A91; Tue, 10 Oct 2017 15:48:19 -0400 (EDT) Received: from frontend2 ([10.202.2.161]) by compute5.internal (MEProxy); Tue, 10 Oct 2017 15:48:19 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-sender :x-me-sender:x-sasl-enc:x-sasl-enc; s=fm1; bh=d5OPGrJKfrtidaTvMP KJW5/rBtT+lDuXrvInKsZ48Y4=; b=d6hYUvVKltnl8r2o1PGKrNCRZQRXrQWcCY g3cg2IDwqYQSnC28VjD6AjmUj7SE/mJkiDZAqbXlPMwJUlDA7gvVkCqcW8IvuWeg iLwBFozW66lKsde5bb2Ha425FjSu+v9xnVamsIfipgLUEPI7G0jh696zaGyQCAUq Kz0D829TfHY8FfGHOWEorX4H+3v/8CLnC+EM8cI2hgU8XXTjE2a8raJVeqv9RXUB cMY0aFntQCaXNMKqHD6vfcCG1O0Hx4wESGuDx2DGjVbzFH4OLF52ZfzYPHLLr7vr IJ8ZZBcT3Y6Wvjgw+1TF0oxhVfnlFrDvsezUKkJ1kfULDGj8wNeQ== X-ME-Sender: X-Sasl-enc: V/s2MKq1PnCFLaKcmiy4tO+u3vgXtE/cTRWosL2H8Lna 1507664899 Received: from intern.anarazel.de (unknown [136.24.76.72]) by mail.messagingengine.com (Postfix) with ESMTPA id 2B9C02484E; Tue, 10 Oct 2017 15:48:19 -0400 (EDT) Date: Tue, 10 Oct 2017 12:48:18 -0700 From: Andres Freund To: Andrew Dunstan Cc: pgsql-committers@postgresql.org Subject: Re: pgsql: Add pg_strnlen() a portable implementation of strlen. Message-ID: <20171010194818.p2hhod32ezmvhryb@alap3.anarazel.de> References: <20171009231509.nlptgdrtg2au6frn@alap3.anarazel.de> <44745881-6095-e3ba-e8eb-23b1d92bffab@dunslane.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <44745881-6095-e3ba-e8eb-23b1d92bffab@dunslane.net> List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-committers Precedence: bulk Sender: pgsql-committers-owner@postgresql.org 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%3A06&stg=configure 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) - Andres -- Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-committers