Opinion about macro for the uuid datatype.

Поиск
Список
Период
Сортировка
От Gevik Babakhani
Тема Opinion about macro for the uuid datatype.
Дата
Msg-id 1158450468.10117.44.camel@voyager.truesoftware.net
обсуждение исходный текст
Ответы Re: Opinion about macro for the uuid datatype.  (Tom Lane <tgl@sss.pgh.pa.us>)
Re: Opinion about macro for the uuid datatype.  (Peter Eisentraut <peter_e@gmx.net>)
Список pgsql-hackers
The development of the uuid datatype is yet in progress...
I was wondering if I should go ahead and add a macro datatype like the
SERIAL, only this time for the uuid.

something like:
create table tbl
(mypk SERIALGUID;
)

which creates

create table tbl
(mypk uuid default new_guid();
)

or do you think this would be an overkill?

regards,
Gevik.






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

Предыдущее
От: "Jim C. Nasby"
Дата:
Сообщение: Re: Opinion wanted on UUID/GUID datatype output formats.
Следующее
От: Gregory Stark
Дата:
Сообщение: Re: The enormous s->childXids problem