On Mon, Mar 2, 2026 at 11:42 AM Tom Lane <[email protected]> wrote:
> "David G. Johnston" <[email protected]> writes: > > On Monday, March 2, 2026, Peter J. Holzer <[email protected]> wrote: > >> Would it be possible to set (column constraint) and (table constraint) > >> in the normal body font instead of monospace? That would make it clearer > >> that these phrases aren't part of the syntax but descriptive. > > > Not sure, but I don’t like that as the sole solution anyway. Too subtle. > > Agreed, but we could/should do it along with modifying the text. > I thought your addition of "variant" was a good idea. > I didn't look closely at the rest of your diff. > > The apparent reason the entire row is monospace is because it's all within a <term> element inside a <varlistentry>. We'd probably have to put something around the <term> to make this work - I have no clue what if anything that might be. If someone knows the solution here, ok, but the wording change is more than enough to solve the problem (and this probably the only instance of this "problem" in the docs) so I don't intend to go diving down that rabbit hole. <varlistentry id="sql-createtable-parms-primary-key"> <term><literal>PRIMARY KEY</literal> (column constraint)</term> <term><literal>PRIMARY KEY...(table constraint)</term> Can't just move the </term> before the (... constraint) labels. David J.
