Re: gen_random_uuid is only available with pgcrypto enabled

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: eike(dot)send(at)gmail(dot)com
Cc: pgsql-docs(at)lists(dot)postgresql(dot)org
Subject: Re: gen_random_uuid is only available with pgcrypto enabled
Date: 2023-01-24 20:03:37
Message-ID: 2313457.1674590617@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-docs

PG Doc comments form <noreply(at)postgresql(dot)org> writes:
> Regarding the documentation on this page:
> https://www.postgresql.org/docs/15/functions-uuid.html

> It think the documentation should state clearly, that postgres natively does
> not have any UUID generation functions.

That hasn't been true since we added gen_random_uuid() to the
core code in v13. pgcrypto's version is now just a deprecated
wrapper for that.

regards, tom lane

In response to

Browse pgsql-docs by date

  From Date Subject
Next Message David G. Johnston 2023-01-24 20:03:48 Re: gen_random_uuid is only available with pgcrypto enabled
Previous Message David G. Johnston 2023-01-24 19:58:23 Re: https://www.postgresql.org/account/comments/new/15/sql-alterdatabase.html/