Re: Triggers and Domains

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: ekekakos <ekekakos(at)hol(dot)gr>
Cc: pgsql-novice(at)postgresql(dot)org
Subject: Re: Triggers and Domains
Date: 2009-08-30 18:39:26
Message-ID: 18345.1251657566@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-novice

ekekakos <ekekakos(at)hol(dot)gr> writes:
> And it does not work during the update.

Oh, you mean you want the field to change during updates? No, a
DEFAULT won't do that for you. You'll have to use a trigger.

regards, tom lane

In response to

Responses

Browse pgsql-novice by date

  From Date Subject
Next Message ekekakos 2009-08-30 18:56:00 Re: Triggers and Domains
Previous Message ekekakos 2009-08-30 18:25:47 Re: Triggers and Domains