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-08 21:32:48
Message-ID: 419b7321d71f70a9390ea6a958525468473ba8c3.camel@cybertec.at
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-docs

On Thu, 2026-10-08 at 12:41 -0400, Tom Lane wrote:
> Laurenz Albe <laurenz(dot)albe(at)cybertec(dot)at> writes:
> > On Thu, 2026-10-08 at 04:21 +0000, PG Doc comments form wrote:
> > > Page: https://www.postgresql.org/docs/18/functions-uuid.html
> > >
> > > Examples not working; (zero-width space)
> > >
> > > select uuid_extract_version('41db1265-8bc1-4ab3-992f-​885799a4af1d'::uuid);
> > > ПОМИЛКА: неприпустимий синтаксис для типу uuid:
> > > "41db1265-8bc1-4ab3-992f-​885799a4af1d"
> > > LINE 1: select uuid_extract_version('41db1265-8bc1-4ab3-992f-​8857...
>
> > Right. That must have slipped in by mistake.
>
> 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. For cases like this, FOP is not bright enough
> to break what looks to it like one huge word, so we have to help it
> out by putting in fake whitespace.
>
> If you know another way to accomplish that goal, I wouldn't mind
> changing. But just removing these characters isn't OK.
>
> I'm not personally of the opinion that copying-and-pasting our
> examples is a useful thing to do, so I'm not particularly concerned
> about this complaint.

Ugh. I should have put some effort into research before claiming
it is a mistake.

But I doubt if is is smart to break copy and paste from the HTML
documentation to avoid warnings in the PDF build. I for one regularly
copy and paste stuff from the HTML documentation, and I have seen and
built the PDF documentation for the first time today (before writing
this). I doubt I am the only one. Are these warnings a big problem?

Yours,
Laurenz Albe

In response to

Responses

Browse pgsql-docs by date

  From Date Subject
Next Message Tom Lane 2026-10-09 03:32:54 Re: Table 9.46. UUID Extraction Functions
Previous Message David G. Johnston 2026-10-08 20:04:53 Re: Improve "3.6. Inheritance" tutorial