Re: DML Restriction unless through a function

Поиск
Список
Период
Сортировка
От Shridhar Daithankar
Тема Re: DML Restriction unless through a function
Дата
Msg-id 40E2BCFB.2030007@frodo.hserus.net
обсуждение исходный текст
Ответ на DML Restriction unless through a function  (val@webtribe.net)
Список pgsql-general
val@webtribe.net wrote:

> Hi all;
>
> Is it possible to write a trigger or the ilk that would disallow
> direct inserts, updates, or deletes to a table unless it was
> being executed through a function?  How can I identify that the
> DML being issued is being done via a function?

http://www.postgresql.org/docs/7.4/static/sql-createfunction.html

Look for security definer. Grant table access only to user who creates the
function and grant access to function to everybody concerned.

HTH

  Shridhar

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

Предыдущее
От: Karam Chand
Дата:
Сообщение: SQLyog for PostgreSQL has been released
Следующее
От: Bruno Wolff III
Дата:
Сообщение: Re: DML Restriction unless through a function