updateble views

Поиск
Список
Период
Сортировка
От thiemo
Тема updateble views
Дата
Msg-id 40B03115-53E9-11D6-8805-000A27D62F9E@gmx.ch
обсуждение исходный текст
Ответы Re: updateble views  ("Josh Berkus" <josh@agliodbs.com>)
Re: updateble views  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-novice
Hi,


I have a table that I want users to access to only through a view. For
the inserts, I have defined a rule.  I granted insert rights on the
base table and view as well as select rights on the view to the users.
However, a users trying an insert on the view gets an "Error while
executing statement: ERROR:  s_pwd.nextval: you don't have permissions
to set sequence s_pwd". Is there a right I need to grant to the users
regarding the sequence?


Thx


Thiemo

<fontfamily><param>Helvetica</param>

--

Thiemo Kellner

Tösstalstrasse 146

CH-8400 Winterthur

</fontfamily>Hi,

I have a table that I want users to access to only through a view. For
the inserts, I have defined a rule.  I granted insert rights on the base
table and view as well as select rights on the view to the users.
However, a users trying an insert on the view gets an "Error while
executing statement: ERROR:  s_pwd.nextval: you don't have permissions
to set sequence s_pwd". Is there a right I need to grant to the users
regarding the sequence?

Thx

Thiemo

--
Thiemo Kellner
Tösstalstrasse 146
CH-8400 Winterthur

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

Предыдущее
От: Ugly Hippo
Дата:
Сообщение: Re: SQL profiler feature in Pgsql?
Следующее
От: "Josh Berkus"
Дата:
Сообщение: Re: updateble views