| От | Aasmund Midttun Godal |
|---|---|
| Тема | Sequence permission suggestion |
| Дата | |
| Msg-id | 20011126005514.10436.qmail@ns.krot.org обсуждение исходный текст |
| Ответы |
Re: Sequence permission suggestion
|
| Список | pgsql-sql |
Today it seems that the following rules governs the permissions of sequences: SELECT - allow you to select * from seq_name; INSERT - no effect UPDATE - allows nextval, setval - and yes implicitly currval DELETE - no effect I suggest nextval is moved into the insert permission as this is quite natural - normally you only need to call nextval whenyou insert a new value into a table. I think this issue is important because setting the sequence to a value lower thanthe max value in a table will cause errors for other users. Aasmund Midttun Godal aasmund@godal.com - http://www.godal.com/ +47 40 45 20 46
В списке pgsql-sql по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера