On Mon, Dec 22, 2008 at 1:49 PM, Grzegorz Jaśkiewicz <[email protected]> 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
--
Sent via pgsql-general mailing list ([email protected])
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general