Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1YsvQV-0004S9-2f for pgsql-committers@arkaria.postgresql.org; Thu, 14 May 2015 15:51:59 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1YsvQT-0000ZC-Vc for pgsql-committers@arkaria.postgresql.org; Thu, 14 May 2015 15:51:58 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1YsvQT-0000Z6-DG for pgsql-committers@postgresql.org; Thu, 14 May 2015 15:51:57 +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) (envelope-from ) id 1YsvQQ-0001R8-RE for pgsql-committers@postgresql.org; Thu, 14 May 2015 15:51:56 +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 t4EFpqnm021369; Thu, 14 May 2015 11:51:52 -0400 From: Tom Lane To: Stephen Frost cc: pgsql-committers@postgresql.org Subject: Re: pgsql: Add pg_audit, an auditing extension In-reply-to: <20150514154619.GY30322@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> Comments: In-reply-to Stephen Frost message dated "Thu, 14 May 2015 11:46:19 -0400" Date: Thu, 14 May 2015 11:51:52 -0400 Message-ID: <21368.1431618712@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: > I've pushed a change which should clean it up by simply loading the > module after each reconnects is done, more-or-less simulating having it > be in shared_preload_libraries. It also wasn't using the correct > database for reconnecting. > I'll keep an eye on it. Another thing that looks not amazingly well-thought-out about that regression test is that it creates a superuser role with a known name (and no password, not that adding a password would make it better). This seems like it's just asking for trouble, especially in installcheck scenarios where failure partway through would leave the superuser lying around ready to be exploited. Do we *really* need that in the test? 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