Re: problem inserting with sequence

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: problem inserting with sequence
Дата
Msg-id 23961.1122562028@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: problem inserting with sequence  (germ germ <super_code_monkey@yahoo.com>)
Список pgsql-general
germ germ <super_code_monkey@yahoo.com> writes:
> This is the error: 2005-07-28 08:51:08 ERROR:
> permission denied for sequence requests_req_num_seq

> I've tried these grants, but no luck:
> GRANT ALL ON FUNCTION nextval(integer) TO wwwrun,
> postgres;
> GRANT ALL ON FUNCTION nextval('requests_req_num_seq')
> TO wwwrun, postgres;
> GRANT ALL ON FUNCTION nextval() TO wwwrun, postgres;

The missing permission is for the sequence, not the function.

grant all on requests_req_num_seq to ...

            regards, tom lane

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

Предыдущее
От: Michael Fuhr
Дата:
Сообщение: Re: problem inserting with sequence
Следующее
От: germ germ
Дата:
Сообщение: Re: problem inserting with sequence