From: Bruce Momjian <pgman@candle.pha.pa.us>
To: codeWarrior <gpatnude@hotmail.com>
Cc: pgsql-admin@postgresql.org
Subject: Re: GRANT on all tables?
Date: Wed, 23 Apr 2003 14:04:42 -0400 (EDT)
Message-ID: <200304231804.h3NI4gm06534@candle.pha.pa.us> (raw)
In-Reply-To: <b7md50$1btl$1@news.hub.org>
codeWarrior wrote:
> GRANT ALL TO PUBLIC;
Uh, that doesn't work, and actually we don't have a global 'give all
permissions on all tables' capability.
>
>
> "dudsen" <dudsen@koen.dk> wrote in message
> news:1050499026.680723@kalvebod.groenjord.dk...
> > 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
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 1: subscribe and unsubscribe commands go to majordomo@postgresql.org
>
--
Bruce Momjian | http://candle.pha.pa.us
pgman@candle.pha.pa.us | (610) 359-1001
+ If your life is a hard drive, | 13 Roberts Road
+ Christ can be your backup. | Newtown Square, Pennsylvania 19073
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: pgman@candle.pha.pa.us, gpatnude@hotmail.com
Subject: Re: GRANT on all tables?
In-Reply-To: <200304231804.h3NI4gm06534@candle.pha.pa.us>
References: <b7md50$1btl$1@news.hub.org> <200304231804.h3NI4gm06534@candle.pha.pa.us>
* 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