Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1YswC9-0006XR-Qv for pgsql-committers@arkaria.postgresql.org; Thu, 14 May 2015 16:41:13 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1YswC9-0008FZ-Bn for pgsql-committers@arkaria.postgresql.org; Thu, 14 May 2015 16:41:13 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1YswC8-0008FP-Nw for pgsql-committers@postgresql.org; Thu, 14 May 2015 16:41:12 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84) (envelope-from ) id 1YswC6-0002W7-5O for pgsql-committers@postgresql.org; Thu, 14 May 2015 16:41:11 +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 t4EGf9rm005044; Thu, 14 May 2015 12:41:09 -0400 From: Tom Lane To: Stephen Frost cc: pgsql-committers@postgresql.org Subject: Re: pgsql: Add pg_audit, an auditing extension In-reply-to: <20150514163551.GB30322@tamriel.snowman.net> References: <20150514144833.GW30322@tamriel.snowman.net> <20267.1431615541@sss.pgh.pa.us> <20150514150047.GX30322@tamriel.snowman.net> <20458.1431615970@sss.pgh.pa.us> <20150514154619.GY30322@tamriel.snowman.net> <21368.1431618712@sss.pgh.pa.us> <20150514161032.GA30322@tamriel.snowman.net> <4844.1431621244@sss.pgh.pa.us> <20150514163551.GB30322@tamriel.snowman.net> Comments: In-reply-to Stephen Frost message dated "Thu, 14 May 2015 12:35:51 -0400" Date: Thu, 14 May 2015 12:41:09 -0400 Message-ID: <5043.1431621669@sss.pgh.pa.us> X-Pg-Spam-Score: -1.9 (-) 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 Stephen Frost writes: > * Tom Lane (tgl@sss.pgh.pa.us) wrote: >> Quite aside from any security risks, that means that running "make >> installcheck" twice in a row fails. Please fix. > Right, will do, though one kind of requires the other (we can't drop the > only user we know how to connect as which is a superuser...). I'll > figure out a way to make it work though. Instead of physically reconnecting, could you do SET ROLE or SET SESSION AUTHORIZATION? I think that's what we do in the core tests. > I'm at least somewhat suspicious it has to do with loading the library, > since we (pretty clearly..) didn't test that much as it's not really > intended. There are several more crashes in the BF now. They're not at initial library load AFAICS. Hard to tell if it's platform-specific or just randomly fails sometimes. Have you tried valgrind to see if there's uninitialized-memory touches? regards, tom lane -- Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-committers