Re: Granting Permissions to User To Access Database - Mailing list pgsql-admin

From Anthony E . Greene
Subject Re: Granting Permissions to User To Access Database
Date
Msg-id 20010106210137.G3399@cp5340
Whole thread Raw
In response to Granting Permissions to User To Access Database  ("Kevin Schachter" <kevin@kevinity.com>)
List 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@pobox.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/>

pgsql-admin by date:

Previous
From: "Anthony E . Greene"
Date:
Subject: Re: Listing users
Next
From: R D
Date:
Subject: Re: Granting Permissions to User To Access Database