Re: Use uppercase keywords in foreign key tutorial

David Rowley <dgrowleyml@gmail.com>

From: David Rowley <dgrowleyml@gmail.com>
To: Erik Wienhold <ewie@ewie.name>
Cc: Euler Taveira <euler@eulerto.com>, pgsql-docs@lists.postgresql.org
Date: 2025-10-23T22:50:19Z
Lists: pgsql-docs
On Fri, 24 Oct 2025 at 09:39, Erik Wienhold <ewie@ewie.name> wrote:
> This of course produces a lot of noise, but I managed to find and fix a
> couple more places with the attached v2 (including the ones you've
> listed) that I've missed previously.  I've searched for "primary key"
> across the docs previously but did not spot the matches between the
> false-positive ones from the running text.

I've not reviewed in detail, but on a first-pass read, I think this is
worth doing. I personally find queries with upper-case keywords and
lowercase identifiers much easier on the eyes.

I'm not so sure about the "Should be pushed to all stable branches"
part as it seems more of a general improvement than fixing a mistake.
I imagine there will be varying opinions on that, however.

David



Commits

  1. Doc: more uppercase keywords in SQLs

  2. Doc: use uppercase keywords in SQLs