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: Sat, 10 Oct 2026 09:22:07 +0200
Message-ID: <fc07fb35381057bef38e4b83c868d87cf6e17ed2.camel@cybertec.at> (raw)
In-Reply-To: <30956.1791591916@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>
<d16be0c5e1f60366dfdc181b0ebd5cf2d213ecf7.camel@cybertec.at>
<2565626.1791524131@sss.pgh.pa.us>
<176ada94989db19564e580b48c2b44be94a06d3e.camel@cybertec.at>
<30956.1791591916@sss.pgh.pa.us>
On Fri, 2026-10-09 at 20:25 -0400, Tom Lane wrote:
> Laurenz Albe <laurenz.albe@cybertec.at> writes:
>
> > For the UUID functions that the complaint was about, I simply added
> > regular spaces inside the parentheses, which in HTML looks like
> > uuid_extract_version( '41db1265-8bc1-4ab3-992f-885799a4af1d'::uuid ) → 4
> > I'd say that that is acceptable.
>
> Great idea, but when I looked at the rendered A4 PDF I saw why we'd
> put in the zwsps: without them, FOP decides that the best way
> to break these lines is like
>
> uuid_extract_version('41db1265-8bc1-4ab3-992f-885799a4af1d'::u-
> uid)
>
> which of course is really horrid (cf first attached screenshot).
> However, adapting your idea a bit, I tried putting spaces around
> the "::", and that renders far better (cd second attachment).
> So I'll run with that.
Thanks for taking care of that.
Strangely enough, I didn't see those horrid line breaks; for me,
the line broke at the arrow. It seems that there are some
variables unknown to me that influence the output.
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: <fc07fb35381057bef38e4b83c868d87cf6e17ed2.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