Re: Use uppercase keywords in foreign key tutorial

From: David Rowley <dgrowleyml(at)gmail(dot)com>
To: Erik Wienhold <ewie(at)ewie(dot)name>
Cc: jian he <jian(dot)universality(at)gmail(dot)com>, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Bruce Momjian <bruce(at)momjian(dot)us>, Nathan Bossart <nathandbossart(at)gmail(dot)com>, Euler Taveira <euler(at)eulerto(dot)com>, pgsql-docs(at)lists(dot)postgresql(dot)org
Subject: Re: Use uppercase keywords in foreign key tutorial
Date: 2025-11-10 04:20:13
Message-ID: CAApHDvogerX5Su+M3puBMTdmczr8OAyKF60V7cFPOKvNYOhQ3A@mail.gmail.com
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-docs

On Mon, 10 Nov 2025 at 16:40, Erik Wienhold <ewie(at)ewie(dot)name> wrote:
> > in doc/src/sgml/func/func-matching.sgml

> > key word: "similar", "escape", "from", "for" within the above synopsis
> > section need uppercase too?
>
> Thanks, good catch. Not surprised that I've missed those because it
> already took me a couple of rounds to find everything that's in the
> previous patch. Here's another patch.

I've pushed this after doing a manual scan the command that the
following outputs:

select 'git grep -E "\b(' || string_agg(word,'|') || ')\("' from
pg_get_keywords();

I didn't see any other ones that are all lowercase. I also tried with
initcap(word). I didn't go as far as writing a regex that searched for
other mixed case but not all upper case.

David

In response to

Browse pgsql-docs by date

  From Date Subject
Next Message David G. Johnston 2025-11-10 12:05:09 Re: question about parallel. i read document and i can't solve it. provide the solution please.
Previous Message Erik Wienhold 2025-11-10 03:40:25 Re: Use uppercase keywords in foreign key tutorial