pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: dudsen <dudsen@koen.dk>
To: pgsql-admin@postgresql.org
Subject: GRANT on all tables?
Date: Wed, 16 Apr 2003 15:17:04 +0200
Message-ID: <1050499026.680723@kalvebod.groenjord.dk> (raw)

How do I GRANT an user privileges for all tables in an database with one 
command, as it is now i need to specify the name of each table.
I want to write something like 
GRANT SELECT,INSERT ON mydatabase TO user; this doesn't work but are there a 
way of getting someting similar to work?

-- 
Daniel Udsen




view thread (5+ messages)  latest in thread

Message-ID: <1050499026.680723@kalvebod.groenjord.dk>
Permalink:  ../1050499026.680723@kalvebod.groenjord.dk/
Also on:    postgresql.org/message-id/1050499026.680723@kalvebod.groenjord.dk

 · 

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: dudsen@koen.dk
  Subject: Re: GRANT on all tables?
  In-Reply-To: <1050499026.680723@kalvebod.groenjord.dk>
  References: <1050499026.680723@kalvebod.groenjord.dk>

* 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