Re: Granting Permissions to User To Access Database

From: "Anthony E (dot) Greene" <agreene(at)pobox(dot)com>
To: pgsql-admin(at)postgresql(dot)org
Subject: Re: Granting Permissions to User To Access Database
Date: 2001-01-07 02:01:37
Message-ID: 20010106210137.G3399@cp5340
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

On Sat, 06 Jan 2001 15:22:46 Kevin Schachter wrote:
>In MySQL you can grant a user select permissions to all tables in a
>database
>with the command "GRANT select on db.* to .....". Is there a similar way to
>accomplish this in Postgres? Reading up on GRANT I see that it only works
>for individual tables and not a full database.

The docs are correct on this -- you have to do it per table.

--
Anthony E. Greene <agreene(at)pobox(dot)com> <http://www.pobox.com/~agreene/>
PGP Key: 0x6C94239D/7B3D BD7D 7D91 1B44 BA26 C484 A42A 60DD 6C94 239D
Chat: AOL/Yahoo: TonyG05 ICQ: 91183266
Linux. The choice of a GNU Generation. <http://www.linux.org/>

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message R D 2001-01-08 09:31:55 Re: Granting Permissions to User To Access Database
Previous Message Anthony E . Greene 2001-01-07 01:57:27 Re: Listing users