Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e22AY-0007hk-1A for pgsql-committers@arkaria.postgresql.org; Tue, 10 Oct 2017 21:34:30 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1e22AX-0003Zu-E1 for pgsql-committers@arkaria.postgresql.org; Tue, 10 Oct 2017 21:34:29 +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 1e22AW-0003ZN-Ul for pgsql-committers@postgresql.org; Tue, 10 Oct 2017 21:34:29 +0000 Received: from mail-qt0-x22d.google.com ([2607:f8b0:400d:c0d::22d]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.84_2) (envelope-from ) id 1e22AR-0006wN-Hk for pgsql-committers@postgresql.org; Tue, 10 Oct 2017 21:34:27 +0000 Received: by mail-qt0-x22d.google.com with SMTP id z19so10165240qtg.11 for ; Tue, 10 Oct 2017 14:34:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=2ndquadrant-com.20150623.gappssmtp.com; s=20150623; h=from:subject:to:cc:references:message-id:date:user-agent :mime-version:in-reply-to:content-transfer-encoding:content-language; bh=j/zNLSMJuvcZ3fLI3C8UzIS59ym627bhWgpoLtPpVKY=; b=ZinCIX+0TGX4IKscfSHi90UtNqmycB4pbVpwQo/NaWmHmv8YsZ5/cURkhnSMJovSkU Z2c6JDgspoj1yKL377ZC+KmkVnF5QFVVEZjsiQuxZhSMrFa6QlkErck0Qzp1i3B3TyOj jszeg+c/kuN518yfDs5h6smTFYptFvsmwXdNjs/VgMpHxVwdWCMNnNMSF25sqAv6Oj6j kkAFcoSddEO8DYXDEFSgxytRQMmw3i/qOqys35EspXUjGXwlJ0rHlfFN/w6GiAAnccpK vlpVeUejGhltREECmCSX8EgLRMmeSa3eBIodNamx/T8zkXsUjjygeUPcQkpRjDHA4IXr wt6Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:subject:to:cc:references:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding :content-language; bh=j/zNLSMJuvcZ3fLI3C8UzIS59ym627bhWgpoLtPpVKY=; b=NxhxHwEgoDTbl3GLBbjNHS54WF2q9jTFS+mjPZ828/fzZ2Ju9mE8XFNit5PDHQeb4i YvixpF8jNzSAOPH1Uuj6xbOujUqGYtMVX15ICWHxvEqowgEUzf2Lx0v3ojPuyOZLpYjH iAzExa5pSI9q3rSiwBQ0e87jIRXrVUCoaRdIXUFR58vZU5rODMjThPGoiJ8mqhR0e2Vf gLTgzEYIkTR2uxkt6m7w3RjVq0ScOgWfzPSZx7tXRaRH4W1fGHBD4sJyhOUJQs6NslKE LFE72jxVW4z2a+8mSCAvI4wbrQi4vF4WpY4njHGoJ2Pzbu/JDRRbeOJvKr7Orl7l0CWZ RFRg== X-Gm-Message-State: AMCzsaVLim3GEQwwmSgLKvVPMkJq8mv3SKKI1+iPZ6VBhbyNld7/Wf2y pjvJ2TiybxDf2/DB6TmEhYaqleD5lSqadHdAbJQckwkvm+GlNjCkbzFnZak1ZcKT0JQt2axrx4B 7KBIVFfKkqP+ZjV+UPUpoOjg3JI0Yk3BjeKYA/5wKLLlzc7BRmq7ZfwOunWEQKM49Ik+496MbMZ lVIKHCstWFNrLWZ4Ra X-Google-Smtp-Source: AOwi7QDgz5NeG9TIpt9bkPX4UfA/EjjsrNLD9i6eVwqJdevTKmdE/Bsa2lvDzNeH5wHDb/r3Trwehg== X-Received: by 10.55.179.196 with SMTP id c187mr16402981qkf.9.1507671262488; Tue, 10 Oct 2017 14:34:22 -0700 (PDT) Received: from [192.168.10.146] ([98.122.175.38]) by smtp.gmail.com with ESMTPSA id n131sm6305847qke.48.2017.10.10.14.34.21 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 10 Oct 2017 14:34:22 -0700 (PDT) From: Andrew Dunstan X-Google-Original-From: Andrew Dunstan Subject: Re: pgsql: Add pg_strnlen() a portable implementation of strlen. To: Andres Freund Cc: pgsql-committers@postgresql.org References: <20171009231509.nlptgdrtg2au6frn@alap3.anarazel.de> <44745881-6095-e3ba-e8eb-23b1d92bffab@dunslane.net> <20171010194818.p2hhod32ezmvhryb@alap3.anarazel.de> Message-ID: <6c8a3662-289a-efac-fe07-aff43eb315db@2ndQuadrant.com> Date: Tue, 10 Oct 2017 17:34:17 -0400 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.3.0 MIME-Version: 1.0 In-Reply-To: <20171010194818.p2hhod32ezmvhryb@alap3.anarazel.de> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Content-Language: en-MW 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 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=3Dfrogmouth&dt= =3D2017-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=3Dfrogmouth= &dt=3D2017-10-10%2018%3A35%3A06&stg=3Dconfigure > > 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 --=20 Andrew Dunstan https://www.2ndQuadrant.com PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services --=20 Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-committers