Re: Default UUID in Postgres - Mailing list pgsql-general

From Christophe
Subject Re: Default UUID in Postgres
Date
Msg-id 21F7F73D-5695-4052-9626-CD0DA044DBB6@thebuild.com
Whole thread Raw
In response to Default UUID in Postgres  ("Swaminathan Saikumar" <swami@giveexam.com>)
List pgsql-general
On Jul 9, 2008, at 4:32 PM, Swaminathan Saikumar wrote:

> Hello,
>
> I created a Postgres table with a UUID. I want the UUID to be
> populated by default.

PostgreSQL doesn't have built-in functions for generating UUIDs, but
there is a module in contrib that will do so:

    http://www.postgresql.org/docs/current/static/datatype-uuid.html

pgsql-general by date:

Previous
From: Iv Ray
Date:
Subject: Re: MSSQL to PostgreSQL
Next
From: Tom Lane
Date:
Subject: Re: manual Installation for thread safety