On Mon, Dec 22, 2008 at 1:49 PM, Grzegorz Jaśkiewicz <gryzman(at)gmail(dot)com> wrote:
> but that defeats whole purpose of domains, doesn't it ?
> well, on top of that - I could create another domain with default
> (nextval, now), but still....
Well I can't, it doesn't work :(
create domain xyz as footype default(nextval('seq1'), now()) not null;
ERROR: "xyz" is not a valid base type for a domain
In response to
pgsql-general by date
|Next:||From: Jonah H. Harris||Date: 2008-12-22 13:13:55|
|Subject: Re: How are locks managed in PG?|
|Previous:||From: Grzegorz Jaśkiewicz||Date: 2008-12-22 12:49:49|
|Subject: lack of consequence with domains and types|