Re: REVOKE from all tables ...

From: Stephen Frost <sfrost(at)snowman(dot)net>
To: "Marc G(dot) Fournier" <scrappy(at)postgresql(dot)org>
Cc: pgsql-admin(at)postgresql(dot)org
Subject: Re: REVOKE from all tables ...
Date: 2005-08-09 13:20:15
Message-ID: 20050809132015.GW6026@ns.snowman.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

* Marc G. Fournier (scrappy(at)postgresql(dot)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

In response to

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Sergey Moiseev 2005-08-09 13:37:43 Re: SQL Server 2000 to PostgreSQL 8.0.3
Previous Message James Herbers 2005-08-09 13:13:40 Re: SQL Server 2000 to PostgreSQL 8.0.3