pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Stephen Frost <sfrost@snowman.net>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: pgsql-committers@postgresql.org
Subject: Re: pgsql: Add pg_audit, an auditing extension
Date: Thu, 14 May 2015 11:00:47 -0400
Message-ID: <20150514150047.GX30322@tamriel.snowman.net> (raw)
In-Reply-To: <20267.1431615541@sss.pgh.pa.us>
References: <E1YsuFd-0007qf-Ml@gemulon.postgresql.org>
	<20150514144833.GW30322@tamriel.snowman.net>
	<20267.1431615541@sss.pgh.pa.us>
List-Unsubscribe:  <mailto:majordomo@postgresql.org?body=unsub%20pgsql-committers>

* Tom Lane (tgl@sss.pgh.pa.us) wrote:
> Stephen Frost <sfrost@snowman.net> writes:
> > And... I busted the buildfarm.  Will fix.
> 
>  -- Load pg_audit module
>   create extension pg_audit;
> + ERROR:  pg_audit must be loaded via shared_preload_libraries
> 
> 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

Attachments:

  signature.asc (application/pgp-signature, 818B) download

view thread (69+ messages)  latest in thread

Message-ID: <20150514150047.GX30322@tamriel.snowman.net>
Permalink:  ../20150514150047.GX30322@tamriel.snowman.net/
Also on:    postgresql.org/message-id/20150514150047.GX30322@tamriel.snowman.net

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-committers@postgresql.org
  Cc: sfrost@snowman.net, tgl@sss.pgh.pa.us
  Subject: Re: pgsql: Add pg_audit, an auditing extension
  In-Reply-To: <20150514150047.GX30322@tamriel.snowman.net>
  References: <E1YsuFd-0007qf-Ml@gemulon.postgresql.org> <20150514144833.GW30322@tamriel.snowman.net> <20267.1431615541@sss.pgh.pa.us> <20150514150047.GX30322@tamriel.snowman.net>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox