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
>