Re: Delete denied?

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Delete denied?
Дата
Msg-id 11256.1061596528@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Delete denied?  (Josh Berkus <josh@agliodbs.com>)
Список pgsql-sql
Josh Berkus <josh@agliodbs.com> writes:
> Contributing could be that the table holding the deleted records is a child 
> table with an "ON CASCADE DELETE" of one of the tables being updated 
> elsewhere in the function.  And the function works if called by the owner of 
> the table (and the function).

I seem to recall that the original coding of the RI triggers was
careless about executing the RI operations as the "right" user (namely
the table owner).  This very possibly was still broken in 7.2.4.
        regards, tom lane


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

Предыдущее
От: Josh Berkus
Дата:
Сообщение: Re: Delete denied?
Следующее
От: Stephan Szabo
Дата:
Сообщение: Re: Delete denied?