Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dhIER-0008S2-VZ for pgsql-hackers@arkaria.postgresql.org; Mon, 14 Aug 2017 16:28:48 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1dhIER-00047D-I0 for pgsql-hackers@arkaria.postgresql.org; Mon, 14 Aug 2017 16:28:47 +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 1dhIEQ-00045J-PO for pgsql-hackers@postgresql.org; Mon, 14 Aug 2017 16:28:46 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1dhIEN-00033q-Mv for pgsql-hackers@postgresql.org; Mon, 14 Aug 2017 16:28:46 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.4/8.14.4) with ESMTP id v7EGSdWJ010228; Mon, 14 Aug 2017 12:28:39 -0400 From: Tom Lane To: Robert Haas cc: Alvaro Herrera , Andres Freund , Thomas Munro , Dilip Kumar , Pg Hackers Subject: Re: shared memory based stat collector (was: Sharing record typmods between backends) In-reply-to: References: <20170814005656.d5tvz464qkmz66tq@alap3.anarazel.de> <32138.1502675970@sss.pgh.pa.us> <9714.1502727365@sss.pgh.pa.us> Comments: In-reply-to Robert Haas message dated "Mon, 14 Aug 2017 12:21:30 -0400" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <10226.1502728119.1@sss.pgh.pa.us> Date: Mon, 14 Aug 2017 12:28:39 -0400 Message-ID: <10227.1502728119@sss.pgh.pa.us> List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-hackers Precedence: bulk Sender: pgsql-hackers-owner@postgresql.org Robert Haas writes: > On Mon, Aug 14, 2017 at 12:16 PM, Tom Lane wrote: >> Just FYI, the only values being reported by buildfarm animals are >> "posix", "sysv", and "windows". So while mmap may be a thing, >> it's an untested thing. > I'm pretty sure I dev-tested it before committing anything, but, > certainly, having ongoing BF coverage woudn't be a bad thing. Looking closer, the reason those are the only reported values is that those are the only possible results from initdb's choose_dsm_implementation(). So the real question here is whether "mmap" should be considered to dominate "sysv" if it's available. If so, why isn't choose_dsm_implementation() trying it; and if not, why are we carrying it? regards, tom lane -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers