Re: Bug or feature?

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Bug or feature?
Дата
Msg-id 6496.989608082@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Bug or feature?  (Olivier PRENANT <ohp@pyrenet.fr>)
Ответы Re: Bug or feature?  (Olivier PRENANT <ohp@pyrenet.fr>)
Список pgsql-hackers
Olivier PRENANT <ohp@pyrenet.fr> writes:
> I've just noticed that (after a upgrade from 7.0.3 to 7.1) the following
> did'nt work anymore:

> create tabla a (n1 serial, n2 int);
> grant all on a to nobody;

> <reconnect as user nobody>

> insert into a (n2) value (1);
> n1.nextval: you don't have permission to set sequence n1

> It worked on 7.0.3

You'll have to grant update rights on the sequence object to nobody ...
        regards, tom lane


В списке pgsql-hackers по дате отправления:

Предыдущее
От: Kaare Rasmussen
Дата:
Сообщение: Search
Следующее
От: Dave Blasby
Дата:
Сообщение: Rtree on custom data types; type conversion stops index use.