pg.ddx.io  pgsql-docs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Jonathan S. Katz <jkatz@postgresql.org>
To: Tom Lane <tgl@sss.pgh.pa.us>
To: koizumistr@minos.ocn.ne.jp
Cc: pgsql-docs@lists.postgresql.org
Subject: Re: missing a white space in the last sentence of 51.6. Executor
Date: Mon, 17 Jan 2022 14:39:40 -0500
Message-ID: <af3f5775-fdc4-ba0f-4235-45e79272630f@postgresql.org> (raw)
In-Reply-To: <46045.1642446165@sss.pgh.pa.us>
References: <164242945435.31951.14375506753598286638@wrigleys.postgresql.org>
	<46045.1642446165@sss.pgh.pa.us>

On 1/17/22 2:02 PM, Tom Lane wrote:
> PG Doc comments form <noreply@postgresql.org> writes:
>> The last sentence of 51.6. Executor appears:
>> "...feeding that up toModifyTable to perform the insertion."
> 
> Hm, the space is definitely there in the source file:
> 
>      A simple <command>INSERT ... VALUES</command> command creates a
>      trivial plan tree consisting of a single <literal>Result</literal>
>      node, which computes just one result row, feeding that up
>      to <literal>ModifyTable</literal> to perform the insertion.
> 
> I also see it rendered properly in HTML when looking at a local docs
> build.  I think this is some sort of spacing issue in the website
> style sheets.  Other <literal> segments on the same page are also
> rendered with less-than-usual spacing around them (to my eye
> anyway); though this is the only one that looks like it has no
> space at all.

I don't think it's the website stylesheets; those are identical between 
both core "make" and the website itself.

It looks like the whitespace character was stripped out in the generated 
HTML on the website. My thought is that tidylib's parser did that. We 
set indent[1] to "auto", and in the tidylib docs it does indicate that 
it could expose "layout issues" in some browsers. This makes me think 
that this could be the culprit, though I haven't tested it yet.

Is there any reason why we use that setting at all, given the doc HTML 
in the website is generated + stored in the DB, and we rarely, if ever 
need to debug it?

Thanks,

Jonathan

[1] http://tidy.sourceforge.net/docs/quickref.html#indent


Attachments:

  [application/pgp-signature] OpenPGP_signature (839B, ../af3f5775-fdc4-ba0f-4235-45e79272630f@postgresql.org/2-OpenPGP_signature)
  download

view thread (3+ messages)

Message-ID: <af3f5775-fdc4-ba0f-4235-45e79272630f@postgresql.org>
Permalink:  ../af3f5775-fdc4-ba0f-4235-45e79272630f@postgresql.org/
Also on:    postgresql.org/message-id/af3f5775-fdc4-ba0f-4235-45e79272630f@postgresql.org

 · 

reply

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: jkatz@postgresql.org, tgl@sss.pgh.pa.us, koizumistr@minos.ocn.ne.jp, pgsql-docs@lists.postgresql.org
  Subject: Re: missing a white space in the last sentence of 51.6. Executor
  In-Reply-To: <af3f5775-fdc4-ba0f-4235-45e79272630f@postgresql.org>

* 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