protecting a field after creation - Mailing list pgsql-sql

From Louis-David Mitterrand
Subject protecting a field after creation
Date
Msg-id 20000820182933.A2917@styx
Whole thread Raw
Responses Re: protecting a field after creation
List 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 by date:

Previous
From: "Franz J Fortuny"
Date:
Subject: Speed or configuration
Next
From: Tom Lane
Date:
Subject: Re: protecting a field after creation