From: | Masahiko Sawada <sawada(dot)mshk(at)gmail(dot)com> |
---|---|
To: | Andy Alsup <bluesbreaker(at)gmail(dot)com> |
Cc: | Laurenz Albe <laurenz(dot)albe(at)cybertec(dot)at>, Pgsql-Hackers Mailing List <pgsql-hackers(at)postgresql(dot)org> |
Subject: | Re: Update docs for UUID data type |
Date: | 2025-02-28 19:05:20 |
Message-ID: | CAD21AoBC3SdBy=ax+F7C5WgQZHLnGU6Oadffgvi6gnVgcRkQdA@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
On Thu, Feb 27, 2025 at 5:50 PM Andy Alsup <bluesbreaker(at)gmail(dot)com> wrote:
>
> 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.
Thank you for updating the patch!
I like that the patch adds the reference to the uuid data type. But I
think we might want to adjust terminology:
+ <para>
+ See <xref linkend="datatype-uuid"/> for how details on the UUID datatype in
+ <productname>PostgreSQL</productname>.
+ </para>
On 9.14. UUID Functions section, we use the word 'UUID' for data that
are generated based on algorithms defined by RFC9562 whereas we use
uuid (i.e., <type>uuid</type> in func.sgml) to a PostgreSQL data type.
IIUC you want to refer 'UUID datatype' in the above change to the
latter, PostgreSQL's uuid data type. Is that correct? If so, how about
the following change?
See <xref linkend="datatype-uuid"/> for details on the data type
<type>uuid</type> in <productname>PostgreSQL</productname>.
I've attached the updated patch that incorporates the above change,
and updated the commit message too.
Regards,
--
Masahiko Sawada
Amazon Web Services: https://aws.amazon.com
Attachment | Content-Type | Size |
---|---|---|
0001-doc-Convert-UUID-functions-list-to-table-format.patch | application/octet-stream | 8.9 KB |
From | Date | Subject | |
---|---|---|---|
Next Message | Nathan Bossart | 2025-02-28 19:24:02 | Re: optimize file transfer in pg_upgrade |
Previous Message | Mark Dilger | 2025-02-28 18:31:29 | Re: Amcheck verification of GiST and GIN |