Re: PostGres Doubt
| От | Tom Lane |
|---|---|
| Тема | Re: PostGres Doubt |
| Дата | |
| Msg-id | 5971.1024062913@sss.pgh.pa.us обсуждение |
| Ответ на | Re: PostGres Doubt (David Ford <david+cert@blue-labs.org>) |
| Список | pgsql-hackers |
David Ford <david+cert@blue-labs.org> writes:
> Which btw has a curious grant/revoke bug. create foo; grant select on
> foo to bar; results in all rights being granted. You must revoke and
> grant again in order to get the correct rights set.
I see no bug.
test72=# select version(); version
---------------------------------------------------------------PostgreSQL 7.2.1 on hppa-hp-hpux10.20, compiled by GCC
2.95.3
(1 row)
test72=# create user bar;
CREATE USER
test72=# create table foo (f1 int);
CREATE
test72=# grant select on foo to bar;
GRANT
test72=# \z foo
Access privileges for database "test72"Table | Access privileges
-------+----------------------------foo | {=,postgres=arwdRxt,bar=r}
(1 row)
test72=#
regards, tom lane
В списке pgsql-hackers по дате отправления: