protecting a field after creation

Поиск
Список
Период
Сортировка
От Louis-David Mitterrand
Тема protecting a field after creation
Дата
Msg-id 20000820182933.A2917@styx
обсуждение исходный текст
Ответы Re: protecting a field after creation
Список pgsql-sql
Hello,

Is there a way (outside of RULEs and  TRIGGERs) to make a field
read-only once it is INSERTed or assigned its default value? I'm
thinking, for example, of the "created" column that I add to most
tables, holding the row's creation timestamp.

Thanks in advance,

-- 
Louis-David Mitterrand - ldm@apartia.org - http://www.apartia.org

Murphy's Guide to Science:  If it's green or squirms, it's biology.  If it stinks, it's chemistry.  If it doesn't work,
it'sphysics.
 


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

Предыдущее
От: "Franz J Fortuny"
Дата:
Сообщение: Speed or configuration
Следующее
От: Tom Lane
Дата:
Сообщение: Re: protecting a field after creation