From: Charlie Reddington <charlie.reddington@gmail.com>
To: pgsql-admin@postgresql.org
Subject: how to grant SELECT access to a database?
Date: Mon, 8 Dec 2008 11:33:14 -0600
Message-ID: <FDE7A407-3235-4817-8179-EF53E260E791@gmail.com> (raw)
Hi,
I'm really new to PG, so if this is overly newbish, please send me to
the appropriate tutorial.
I have come from a mysql background, so giving access to for a user or
app to just read the appropriate mail list was easy with something
like 'grant select on DB to USER;'.
I have found I can grant ALL PRIVILEGES, but not just select to a
particular DB.
I can use some hand holding here to grant read only to a db the right
way, as I rather not just do a grant all privs. FYI, granting to a
particular set of tables will not work, as we have a 'dynamic' db.
Thanks for the help,
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: charlie.reddington@gmail.com
Subject: Re: how to grant SELECT access to a database?
In-Reply-To: <FDE7A407-3235-4817-8179-EF53E260E791@gmail.com>
References: <FDE7A407-3235-4817-8179-EF53E260E791@gmail.com>
* 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