Re: [SQL] protecting a field after creation

2000-08-20 Thread Tom Lane
Louis-David Mitterrand <[EMAIL PROTECTED]> writes: > 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

[SQL] protecting a field after creation

2000-08-20 Thread Louis-David Mitterrand
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 -