ekekakos <ekekakos(at)hol(dot)gr> writes:
> I have a DOMAIN LastUpdateUser and I want to use it in all the tables of the
> database. I want also to create a trigger which will fulfill this domain
> with the user name.
> Is it possible to do it on Domain instead of the table?
No. But wouldn't a DEFAULT expression attached to the domain serve just
regards, tom lane
In response to
pgsql-novice by date
|Next:||From: ekekakos||Date: 2009-08-30 16:32:22|
|Subject: Re: Triggers and Domains|
|Previous:||From: richard terry||Date: 2009-08-30 12:11:25|
|Subject: Re: numbering rows in a view|