Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1Ysud2-0002OI-Qf for pgsql-committers@arkaria.postgresql.org; Thu, 14 May 2015 15:00:52 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1Ysud2-00048Y-5w for pgsql-committers@arkaria.postgresql.org; Thu, 14 May 2015 15:00:52 +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 1Ysud0-00044v-OE for pgsql-committers@postgresql.org; Thu, 14 May 2015 15:00:50 +0000 Received: from tamriel.snowman.net ([2001:4830:167b::11]) by makus.postgresql.org with esmtp (Exim 4.84) (envelope-from ) id 1Ysucy-0000RG-7b for pgsql-committers@postgresql.org; Thu, 14 May 2015 15:00:49 +0000 Received: by tamriel.snowman.net (Postfix, from userid 1000) id 9B25C5F7A0; Thu, 14 May 2015 11:00:47 -0400 (EDT) Date: Thu, 14 May 2015 11:00:47 -0400 From: Stephen Frost To: Tom Lane Cc: pgsql-committers@postgresql.org Subject: Re: pgsql: Add pg_audit, an auditing extension Message-ID: <20150514150047.GX30322@tamriel.snowman.net> References: <20150514144833.GW30322@tamriel.snowman.net> <20267.1431615541@sss.pgh.pa.us> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="bQ0zDxTE3Kp3DTll" Content-Disposition: inline In-Reply-To: <20267.1431615541@sss.pgh.pa.us> X-Editor: Vim http://www.vim.org/ X-Info: http://www.snowman.net X-Operating-System: Linux/3.13.0-46-generic (x86_64) X-Uptime: 10:59:24 up 55 days, 20:48, 9 users, load average: 0.25, 0.19, 0.15 User-Agent: Mutt/1.5.21 (2010-09-15) 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 --bQ0zDxTE3Kp3DTll Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable * Tom Lane (tgl@sss.pgh.pa.us) wrote: > Stephen Frost writes: > > And... I busted the buildfarm. Will fix. >=20 > -- Load pg_audit module > create extension pg_audit; > + ERROR: pg_audit must be loaded via shared_preload_libraries >=20 > This seems like a rather poorly thought-through error check. > It will break not only the buildfarm but any dump/restore scenario. > You really can't have extensions that refuse to let themselves > be created. Yeah, the original idea behind it was to force the user to think about if they really would want to load it later on down the line rather than have it pre-loaded always. I'll put something in the docs which recommends it and provides the reasoning behind it. Thanks! Stephen --bQ0zDxTE3Kp3DTll Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAEBCgAGBQJVVLifAAoJEO1sijiDR2RVWVkQALZEBH9sQVWpX2VBVOBCNkT5 Ipy1vrIGyNI/MvhV3sHmjz7jSM5qgi9hUOfTZ4yXgbguKEfplEov4JhK8FhgUrDr +gnXbQsDAMP5twJ1C/PnPB7cepiv5AtbgGVGZYLEEC+detUJ4wXQBF1LH2sQWrHs c7/iM05O9pjD4Bnp+IhuHZocmfpdJJkvO1fKzntmlPjODzXfpBuQd8in8TwBpb/d pVLjDDaed5LVhLxpVGJE6Nf1qEUdosHs2t1YrHxMy1rPJtWSfjCyvRiOl/nDknbl wDTir8XPOtwBomFDUGBIjxwPt7IQ1/mWU6EfazIAg28uLN7fxGTFk1OoFx5hdjjB fk6CXNCfcXo8kJ/y5lpyBqS+3uhMYOt3ZF1g2rhCT8Ey6dOGCEfwyoqmK7IAt6hr qOgesQPZSRA3xxO+74/CCEVAtvZRHDXLvG+DR9/tRkr1wve506Inzs4OG8hzDKhv DeBJdM4yu2Hp3+Axz/k8GD0lrw6cwJnRI2ybbISUM7+oE30gYSgnQr9RoTM9OeQt AQptpYvudQmA1zwQuFGcB4EZbqfwoa1MbAzXQnLaNEn70+zpK+H3XQnZCHyB24Gu orFwqSh3Pe9Podo1YEQ8SaR3U4F7JWjGLB2nDFOo2/k2khF1t3zC1n/97giiGHDQ rbvRkrLq7Kl97BzKbQmN =WDv8 -----END PGP SIGNATURE----- --bQ0zDxTE3Kp3DTll--