Opinion about macro for the uuid datatype.

From: Gevik Babakhani <pgdev(at)xs4all(dot)nl>
To: pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Opinion about macro for the uuid datatype.
Date: 2006-09-16 23:47:48
Message-ID: 1158450468.10117.44.camel@voyager.truesoftware.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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.

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Joshua D. Drake 2006-09-17 00:02:40 Re: [HACKERS] Developer's Wiki
Previous Message Jim C. Nasby 2006-09-16 23:37:34 Re: Opinion wanted on UUID/GUID datatype output formats.