Re[2]: Re: new type proposal - Mailing list pgsql-general

From Alexey Borzov
Subject Re[2]: Re: new type proposal
Date
Msg-id 697123537.20010207131547@rdw.ru
Whole thread Raw
In response to Re: Re: new type proposal  (Joseph Shraibman <jks@selectacast.net>)
List pgsql-general
Greetings, Joseph!

At 07.02.2001, 13:13, you wrote:
JS> I noticed that people are ignoring the time created part of my
JS> proposal.  How can a read only field be implemented?  A trigger that
JS> causes and error if that field is updated?
Well, why not just do something like
new.time_created_field := old.time_created_field;
in a BEFORE UPDATE trigger?..


--
Yours, Alexey V. Borzov, Webmaster of RDW



pgsql-general by date:

Previous
From: Alexey Borzov
Date:
Subject: Re: selecting a random record
Next
From: "Martin A. Marques"
Date:
Subject: Re: Re: new type proposal