Re: Dont allow updation for few columns in a record.

Поиск
Список
Период
Сортировка
От Bruno Wolff III
Тема Re: Dont allow updation for few columns in a record.
Дата
Msg-id 20030711133138.GA12937@wolff.to
обсуждение исходный текст
Ответ на Re: Dont allow updation for few columns in a record.  (HK <harikrishnan@midascomm.com>)
Список pgsql-novice
On Fri, Jul 11, 2003 at 10:43:38 +0530,
  HK <harikrishnan@midascomm.com> wrote:
> hi all,
> thanx bruno.
> If we dont grant update access to the table, i will not be able to do any
> updations.
> I only want to prevent a particular column from being updated.
> Is there any way??

Then things are harder. One way to do this is to use the rule system
to make an updatable view (that won't let you change the one column).
You can also probably do it with before triggers.

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

Предыдущее
От: Sean Chittenden
Дата:
Сообщение: Re: [PERFORM] Extreme high load averages
Следующее
От: "Marcus Andree S. Magalhaes"
Дата:
Сообщение: replacing CR/LF