Re: Table 9.46. UUID Extraction Functions

From: Laurenz Albe <laurenz(dot)albe(at)cybertec(dot)at>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: y(dot)saburov(at)gmail(dot)com, pgsql-docs(at)lists(dot)postgresql(dot)org
Subject: Re: Table 9.46. UUID Extraction Functions
Date: 2026-10-09 05:29:43
Message-ID: d16be0c5e1f60366dfdc181b0ebd5cf2d213ecf7.camel@cybertec.at
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-docs

On Thu, 2026-10-08 at 23:32 -0400, Tom Lane wrote:
> Laurenz Albe <laurenz(dot)albe(at)cybertec(dot)at> writes:
> > On Thu, 2026-10-08 at 12:41 -0400, Tom Lane wrote:
> > > Not in the least. Those, and every other &zwsp; in the SGML docs,
> > > are there so that the PDF version renders without complaints about
> > > overlength lines.
>
> I still wonder whether there's another solution path though.
> We settled on &zwsp; because it fixed the major issue here,
> but that doesn't mean there isn't a better answer.

The funny thing is that the line in question is not broken in the
PDF output that was generated here:

uuid_extract_version('41db1265-8bc1-4ab3-992f-885799a4af1d'::uuid)
→4
uuid_extract_version('019535d9-3df7-79fb-b466-fa907fa17f9e'::uuid)
→7

But elsewhere I see a break:

uuid_extract_timestamp('019535d9-3df7-79fb-b466-
fa907fa17f9e'::uuid) → 2025-02-23 21:46:24.503-05

I think that an improved version could look as follows:

uuid_extract_timestamp(
'019535d9-3df7-79fb-b466-fa907fa17f9e'::uuid
) → 2025-02-23 21:46:24.503-05

Also, not everything (query results etc.) are likely to be copied and
pasted by users. So I guess the way forward would be for me to spend
some time with this. But then - is it *that* important?

Yours,
Laurenz Albe

In response to

Responses

Browse pgsql-docs by date

  From Date Subject
Next Message Tom Lane 2026-10-09 05:35:31 Re: Table 9.46. UUID Extraction Functions
Previous Message Tom Lane 2026-10-09 03:32:54 Re: Table 9.46. UUID Extraction Functions