From: Laurenz Albe <laurenz.albe@cybertec.at>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: y.saburov@gmail.com
Cc: pgsql-docs@lists.postgresql.org
Subject: Re: Table 9.46. UUID Extraction Functions
Date: Fri, 09 Oct 2026 07:29:43 +0200
Message-ID: <d16be0c5e1f60366dfdc181b0ebd5cf2d213ecf7.camel@cybertec.at> (raw)
In-Reply-To: <2558476.1791516774@sss.pgh.pa.us>
References: <179143326813.1061054.14714458907175925072@wrigleys.postgresql.org>
<15c6905385e3ca36756eefd06e73be57c9e6ae72.camel@cybertec.at>
<2519947.1791477667@sss.pgh.pa.us>
<419b7321d71f70a9390ea6a958525468473ba8c3.camel@cybertec.at>
<2558476.1791516774@sss.pgh.pa.us>
On Thu, 2026-10-08 at 23:32 -0400, Tom Lane wrote:
> Laurenz Albe <laurenz.albe@cybertec.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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-docs@postgresql.org
Cc: laurenz.albe@cybertec.at, tgl@sss.pgh.pa.us, y.saburov@gmail.com, pgsql-docs@lists.postgresql.org
Subject: Re: Table 9.46. UUID Extraction Functions
In-Reply-To: <d16be0c5e1f60366dfdc181b0ebd5cf2d213ecf7.camel@cybertec.at>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox