Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1VbZ00-00032G-Su for pgsql-hackers@arkaria.postgresql.org; Wed, 30 Oct 2013 16:52:05 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1VbZ00-0000uG-D3 for pgsql-hackers@arkaria.postgresql.org; Wed, 30 Oct 2013 16:52:04 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1VbYzz-0000u8-3E for pgsql-hackers@postgresql.org; Wed, 30 Oct 2013 16:52:03 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by magus.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1VbYzw-0006SZ-La for pgsql-hackers@postgresql.org; Wed, 30 Oct 2013 16:52:02 +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 r9UGprMb005012; Wed, 30 Oct 2013 12:51:53 -0400 From: Tom Lane To: Robert Haas cc: Andres Freund , Andrew Dunstan , "pgsql-hackers@postgresql.org" Subject: Re: Something fishy happening on frogmouth In-reply-to: References: <6557.1383073940@sss.pgh.pa.us> <20131030124734.GA11429@awork2.anarazel.de> Comments: In-reply-to Robert Haas message dated "Wed, 30 Oct 2013 09:07:43 -0400" Date: Wed, 30 Oct 2013 12:51:53 -0400 Message-ID: <5011.1383151913@sss.pgh.pa.us> X-Pg-Spam-Score: -2.4 (--) 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: > Yeah, I think that's probably what it is. There's PostmasterRandom() > to initialize the random-number generator on first use, but that > doesn't help if some other module calls random(). I wonder if we > ought to just get rid of PostmasterRandom() and instead have the > postmaster run that initialization code very early in startup. You could do arbitrary rearrangement of the postmaster's code and not succeed in affecting this behavior in the slightest, because the postmaster isn't running during bootstrap. I continue to doubt that there's a good reason to be creating DSM segment(s) here. 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