Re: grant select on all tables of schema or database

From: Gene <genekhart(at)gmail(dot)com>
To: "Tom Lane" <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: grant select on all tables of schema or database
Date: 2006-12-13 16:33:26
Message-ID: 430d92a20612130833q6132885dwe472859f21528dd6@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

That would indeed be a handy feature... I was surprised when I discovered
this was not available like in mysql, it's a real pain to grant permissions
to a bunch of tables without querying table metadata.

GRANT ALL ON TABLE *.* TO joeblow

>
> which would indeed be a useful thing to have, but it's *not* GRANT ON
> DATABASE.
>
> regards, tom lane
>
> ---------------------------(end of broadcast)---------------------------
> TIP 9: In versions below 8.0, the planner will ignore your desire to
> choose an index scan if your joining column's datatypes do not
> match
>

--
Gene Hart
cell: 443-604-2679

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Tony Caduto 2006-12-13 16:37:07 Weird PG 8.1.3 date error
Previous Message Tom Lane 2006-12-13 16:28:06 Re: grant select on all tables of schema or database