Re: REVOKE from all tables ... - Mailing list pgsql-admin

From Stephen Frost
Subject Re: REVOKE from all tables ...
Date
Msg-id 20050809132015.GW6026@ns.snowman.net
Whole thread Raw
In response to REVOKE from all tables ...  ("Marc G. Fournier" <scrappy@postgresql.org>)
Responses Re: REVOKE from all tables ...  (Guido Barosio <gbarosio@gmail.com>)
Re: REVOKE from all tables ...  (John DeSoi <desoi@pgedit.com>)
List pgsql-admin
* 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

Attachment

pgsql-admin by date:

Previous
From: James Herbers
Date:
Subject: Re: SQL Server 2000 to PostgreSQL 8.0.3
Next
From: "Joel Fradkin"
Date:
Subject: Re: SQL Server 2000 to PostgreSQL 8.0.3