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
huh....
--
GJ