Re[2]: Re: new type proposal

From: Alexey Borzov <borz_off(at)rdw(dot)ru>
To: Joseph Shraibman <jks(at)selectacast(dot)net>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re[2]: Re: new type proposal
Date: 2001-02-07 10:15:47
Message-ID: 697123537.20010207131547@rdw.ru
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Emmanuel Charpentier 2001-02-07 10:22:22 Trouble with views (7.1beta4 Debian) and PgAccess 0.98.7.
Previous Message Alexey Borzov 2001-02-07 10:12:19 Re: selecting a random record