Re: lack of consequence with domains and types

Поиск
Список
Период
Сортировка
От Grzegorz Jaśkiewicz
Тема Re: lack of consequence with domains and types
Дата
Msg-id 2f4958ff0812220453y46236118maf61b5db79e73fe9@mail.gmail.com
обсуждение исходный текст
Ответ на lack of consequence with domains and types  ("Grzegorz Jaśkiewicz" <gryzman@gmail.com>)
Список pgsql-general
On Mon, Dec 22, 2008 at 1:49 PM, Grzegorz Jaśkiewicz <gryzman@gmail.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

В списке pgsql-general по дате отправления:

Предыдущее
От: "Grzegorz Jaśkiewicz"
Дата:
Сообщение: lack of consequence with domains and types
Следующее
От: "Jonah H. Harris"
Дата:
Сообщение: Re: How are locks managed in PG?