Re: User privileges on sequences

Поиск
Список
Период
Сортировка
От Vivek Khera
Тема Re: User privileges on sequences
Дата
Msg-id x7lmiaxmeh.fsf@onceler.kciLink.com
обсуждение исходный текст
Ответ на User privileges on sequences  ("Mihai Gheorghiu" <tanethq@earthlink.net>)
Список pgsql-general
>>>>> "MG" == Mihai Gheorghiu <tanethq@earthlink.net> writes:

MG> nextval("sequence")? What about setval()? Do these involve only a SELECT to
MG> the sequence, or is it an UPDATE, or is it a DELETE and INSERT, or just an
MG> INSERT?

On my sequences, I have these privs:

GRANT INSERT,UPDATE,DELETE,SELECT on some_seq to THEUSER;

I never bothered to try limiting them.  There are only 16 combos to
try, so try them!  I think you definitely need select and update.
Don't know about the others.

--
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Vivek Khera, Ph.D.                Khera Communications, Inc.
Internet: khera@kciLink.com       Rockville, MD       +1-240-453-8497
AIM: vivekkhera Y!: vivek_khera   http://www.khera.org/~vivek/

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

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: To Postgres Devs : Wouldn't changing the select limit
Следующее
От: "samsom, debra"
Дата:
Сообщение: Re: postgresql 7.1.3