Can trigger procedures return value

Поиск
Список
Период
Сортировка
От Deepa K
Тема Can trigger procedures return value
Дата
Msg-id 3F264F0C.8AD851B4@midascomm.com
обсуждение исходный текст
Ответы Re: Can trigger procedures return value  (nolan@celery.tssi.com)
Список pgsql-general
Hi all,
 Can trigger procedures can return
 values.

 Actually I need a trigger that should
 not allow rows to be updated in a particular
 table on a specific condition.(like users
 other than 'manager' should not be allowed to
 update that table')

 If the user other than 'manager' tries to update
 that table, I need a error number that should be
 returned by trigger procedure to prompt the
 user that he/she is not a valid user.

 If it is not possible to return error from
 trigger procedure, what could be the possible
 way to solve the above problem.

regards,
Deepa. K


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

Предыдущее
От: Andreas Jung
Дата:
Сообщение: concurrent writes
Следующее
От: "Shridhar Daithankar"
Дата:
Сообщение: Re: concurrent writes