Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e1mO1-0000vh-Pq for pgsql-committers@arkaria.postgresql.org; Tue, 10 Oct 2017 04:43:22 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1e1mO0-0007b2-Ra for pgsql-committers@arkaria.postgresql.org; Tue, 10 Oct 2017 04:43:20 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1e1mNl-00073H-Dn for pgsql-committers@postgresql.org; Tue, 10 Oct 2017 04:43:05 +0000 Received: from out1-smtp.messagingengine.com ([66.111.4.25]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1e1mNc-0000an-L0 for pgsql-committers@postgresql.org; Tue, 10 Oct 2017 04:43:04 +0000 Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.nyi.internal (Postfix) with ESMTP id 1BB2E20BD7; Tue, 10 Oct 2017 00:42:55 -0400 (EDT) Received: from frontend1 ([10.202.2.160]) by compute5.internal (MEProxy); Tue, 10 Oct 2017 00:42:55 -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=0ITZMhAEBS8ZfA3hY2 SYp1/NoP6cYtgiDxkD+8Q2NMw=; b=I1plIwsvqjqfkYCl+384M/oUuUaPFFI4pj ddqikUkRxwhV+lzoz2jXjzmGwXMDydmsotzidmG9yBwrLRjLDxWZnTA2LGMGSy6u TlwyWNP4NKrL/7D7GC+uRSEAkzzAg4WS361mG5Ua2yRnoz1QgNt2mAnwe6l5BXYr OLlRHpuGPZyRI2sbOY8grb6A+Hu5xX2IXmpt2KJDZSPHNFwoB/NpJZEONfrh+Ntb SkbiQaVg8KlZkRJzmrA0En1I77v6bqpU81zXRBKPkXi64zqA6aas6hZQarF0W6R+ QlFN1ofyC3ZEMSntzJNlMz7ySah9kJVKZUCFQKgq13GbTY62KPyw== X-ME-Sender: X-Sasl-enc: BvHZAZhPI5i0af0J0h1Lf7gi3Z0iMTtptMWZ1SKoRgEX 1507610574 Received: from intern.anarazel.de (unknown [136.24.76.72]) by mail.messagingengine.com (Postfix) with ESMTPA id C805F7FA5E; Tue, 10 Oct 2017 00:42:54 -0400 (EDT) Date: Mon, 9 Oct 2017 21:42:53 -0700 From: Andres Freund To: Tom Lane Cc: Andrew Dunstan , pgsql-committers@postgresql.org Subject: Re: pgsql: Add pg_strnlen() a portable implementation of strlen. Message-ID: <20171010044253.yq7eiczk5ixomhpb@alap3.anarazel.de> References: <20171009231509.nlptgdrtg2au6frn@alap3.anarazel.de> <44745881-6095-e3ba-e8eb-23b1d92bffab@dunslane.net> <23638.1507609552@sss.pgh.pa.us> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <23638.1507609552@sss.pgh.pa.us> 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-10 00:25:52 -0400, Tom Lane wrote: > Andrew Dunstan 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%3A38&stg=config -- Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-committers