Re: newid() in postgres - Mailing list pgsql-general

From Postgres User
Subject Re: newid() in postgres
Date
Msg-id b88c3460704071225p1d754d0eh59d11bbd1b155c2e@mail.gmail.com
Whole thread Raw
In response to Re: newid() in postgres  ("marcel.beutner" <m.beutner@googlemail.com>)
Responses Re: newid() in postgres  ("marcel.beutner" <m.beutner@googlemail.com>)
List pgsql-general
You'll need to create a custom function in Postgres to support this,
which is fairly easy.  It's been done before- do a search on Google:

http://www.hclausen.net/psql.php

On 5 Apr 2007 01:27:15 -0700, marcel.beutner <m.beutner@googlemail.com> wrote:
> Hello,
>
> Thanks a lot for your answers! But I don't need a sequence which only
> will be incremented. I need a _real_ GUID just as the newid()
> function. Is there no way to generate such a GUID?
>
> I need a real GUID because I use them further in my host app. And my
> host app relies on it.
>
>
> Thanks for your answers.
>
> Marcel
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 6: explain analyze is your friend
>

pgsql-general by date:

Previous
From: RPK
Date:
Subject: Documenting PGSQL database.
Next
From: Björn Lundin
Date:
Subject: Re: Documenting PGSQL database.