Re: [SQL] "Permission denied" on public view

Поиск
Список
Период
Сортировка
От wieck@debis.com (Jan Wieck)
Тема Re: [SQL] "Permission denied" on public view
Дата
Msg-id m12KQa6-0003knC@orion.SAPserv.Hamburg.dsh.de
обсуждение исходный текст
Ответ на "Permission denied" on public view  ("Martin Kresse" <mkresse@slyde.in-berlin.de>)
Ответы Re: [SQL] "Permission denied" on public view  ("Martin Kresse" <mkresse@slyde.in-berlin.de>)
Список pgsql-sql
> However, when I try the exact same statement with a different user,
> I get the error message:
>  ERROR:  data: Permission denied.
>
> When I remove the ins_data rule, the INSERT works for the other
> users as well. Does the rule need access to the data table? Is this
> a bug or am I doing something wrong?
   Anything  seems  right  for  me.  And I cannot reproduce this   error in the current developers tree (it works as it
should).
   Which version of PG are you using?


Jan

--

#======================================================================#
# It's easier to get forgiveness for being wrong than for being right. #
# Let's break this rule - forgive me.                                  #
#========================================= wieck@debis.com (Jan Wieck) #




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

Предыдущее
От: "Martin Kresse"
Дата:
Сообщение: "Permission denied" on public view
Следующее
От: Mark Volpe
Дата:
Сообщение: check_foreign_key with OIDs