pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Guido Barosio <gbarosio@gmail.com>
To: Marc G. Fournier <scrappy@postgresql.org>
To: pgsql-admin@postgresql.org
Subject: Re: REVOKE from all tables ...
Date: Tue, 9 Aug 2005 15:09:53 +0100
Message-ID: <f7f6b4c705080907093023b302@mail.gmail.com> (raw)
In-Reply-To: <20050809132015.GW6026@ns.snowman.net>
References: <20050809004545.S958@hub.org>
	<20050809132015.GW6026@ns.snowman.net>

It would be great to look at that :)
  g

 On 8/9/05, Stephen Frost <sfrost@snowman.net> wrote: 
> 
> * Marc G. Fournier (scrappy@postgresql.org) wrote:
> > Is there a way of REVOKEing privileges on all tables in a database? I've
> > checked the REVOKE man page, and there doesn't appear to be, but I 
> figured
> > I'd double check to make sure ...
> 
> I actually wrote a little perl script which allows you to pass in a
> regexp to match names against, allows for limitation to a specific
> schema, and handles tables, views, sequences and functions. I'll see
> about making it available (it's not very big). Of course, I think it'd
> be nice to have some functions in core that did the same thing; or maybe
> some ability in psql to do it.
> 
> Stephen
> 
> 
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.1 (GNU/Linux)
> 
> iD8DBQFC+K2OrzgMPqB3kigRAqayAJ9o/fSLEbDWTPD7LXaAkuhkUpaF1ACeKIAf
> jLhZ8F+CScCkRQtBDg3mucc=
> =WoOm
> -----END PGP SIGNATURE-----
> 
> 
> 


-- 
"Adopting the position that you are smarter than an automatic
optimization algorithm is generally a good way to achieve less
performance, not more" - Tom Lane.

view thread (7+ messages)  latest in thread

Message-ID: <f7f6b4c705080907093023b302@mail.gmail.com>
Permalink:  ../f7f6b4c705080907093023b302@mail.gmail.com/
Also on:    postgresql.org/message-id/f7f6b4c705080907093023b302@mail.gmail.com

 · 

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-admin@postgresql.org
  Cc: gbarosio@gmail.com, scrappy@postgresql.org
  Subject: Re: REVOKE from all tables ...
  In-Reply-To: <f7f6b4c705080907093023b302@mail.gmail.com>
  References: <20050809004545.S958@hub.org> <20050809132015.GW6026@ns.snowman.net> <f7f6b4c705080907093023b302@mail.gmail.com>

* 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