Re: Opinion about macro for the uuid datatype.

From: Gevik Babakhani <pgdev(at)xs4all(dot)nl>
To: Peter Eisentraut <peter_e(at)gmx(dot)net>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: Opinion about macro for the uuid datatype.
Date: 2006-09-18 12:39:24
Message-ID: 1158583164.22703.4.camel@voyager.truesoftware.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Mon, 2006-09-18 at 14:23 +0200, Peter Eisentraut wrote:
> Am Montag, 18. September 2006 13:50 schrieb Gevik Babakhani:
> > It was
>
> My question was, "Could you do this using a domain?". The possible answers to
> that are "Yes" and "No", neither of which appears below, nor does "domain".

"I don't know" could have been also a possible answer ;)

But yes, It is perfectly possible to do that using a domain:

something like:

CREATE DOMAIN SERIAL_GUID uuid DEFAULT new_guid();

Regards,
Gevik.

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Jim Nasby 2006-09-18 12:44:32 Re: [HACKERS] Developer's Wiki
Previous Message Simon Riggs 2006-09-18 12:30:28 Re: Unique index: update error