Re: Update docs for UUID data type

Andy Alsup <bluesbreaker@gmail.com>

From: Andy Alsup <bluesbreaker@gmail.com>
To: Masahiko Sawada <sawada.mshk@gmail.com>
Cc: Laurenz Albe <laurenz.albe@cybertec.at>, Pgsql-Hackers Mailing List <pgsql-hackers@postgresql.org>
Date: 2025-02-28T01:50:16Z
Lists: pgsql-hackers

Attachments

Masahiko,

I have combined the gen_random_uuid() and uuidv4() into a single row, as
you suggested. Please find the v5 patch, which has been squashed into a
single commit.

Best regards,
Andy Alsup

On Thu, Feb 27, 2025 at 5:02 PM Masahiko Sawada <sawada.mshk@gmail.com>
wrote:

> On Thu, Feb 27, 2025 at 1:26 PM Andy Alsup <bluesbreaker@gmail.com> wrote:
> >
> > I've submitted it for the up-coming commitfest. The link is:
> https://commitfest.postgresql.org/patch/5604/
> > Thanks for all your help in reviewing these changes.
>
> Thank you for the patch!
>
> Regarding the 0001 patch, I think we can put uuidv4() and
> get_random_uuid() in the same row since they are effectively identical
> functions. For example, we have precedent such as char_length() and
> character_length().
>
> The 0002 patch looks good to me.
>
> Regards,
>
> --
> Masahiko Sawada
> Amazon Web Services: https://aws.amazon.com
>

Commits

  1. doc: Convert UUID functions list to table format.