Re: Use uppercase keywords in foreign key tutorial - Mailing list pgsql-docs

From David Rowley
Subject Re: Use uppercase keywords in foreign key tutorial
Date
Msg-id CAApHDvogerX5Su+M3puBMTdmczr8OAyKF60V7cFPOKvNYOhQ3A@mail.gmail.com
Whole thread Raw
In response to Re: Use uppercase keywords in foreign key tutorial  (Erik Wienhold <ewie@ewie.name>)
List pgsql-docs
On Mon, 10 Nov 2025 at 16:40, Erik Wienhold <ewie@ewie.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



pgsql-docs by date:

Previous
From: Erik Wienhold
Date:
Subject: Re: Use uppercase keywords in foreign key tutorial
Next
From: "David G. Johnston"
Date:
Subject: Re: question about parallel. i read document and i can't solve it. provide the solution please.