Search Postgresql Archives

Re: lack of consequence with domains and types

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Dec 22, 2008 at 1:49 PM, Grzegorz Jaśkiewicz <gryzman@xxxxxxxxx> 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 (pgsql-general@xxxxxxxxxxxxxx)To make changes to your subscription:http://www.postgresql.org/mailpref/pgsql-general

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux