GRANT ON all tables

From: "Nosyman" <nosyman(at)easymail(dot)ro>
To: pgsql-sql(at)postgresql(dot)org
Subject: GRANT ON all tables
Date: 2004-08-27 15:30:32
Message-ID: 200408271230.i7RCUWCw027233@acten.itcnet.ro
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

Hi there,

I need to know how can I give privileges to all the tables in a database.
For example, I have one database named "test" .This database contains about
30 tables. I want to grant SELECT and DELETE privileges to the 'test_user'
by typing GRANT .... just once (something like GRANT SELECT, DELETE ON
all_tables TO test_user). It is possible? I search PostgreSQL docs and I
can't find out...

Thanks
Nosy

_________________________________________________________________
Message
sent using ITCNet free webmailer (http://www.easymail.ro)

Responses

Browse pgsql-sql by date

  From Date Subject
Next Message Josh Berkus 2004-08-27 15:43:32 Re: Aggregate query for multiple records
Previous Message Riccardo G. Facchini 2004-08-27 13:06:42 Re: from PG_DUMP to CVS