Re: Use uppercase keywords in foreign key tutorial

From: Erik Wienhold <ewie(at)ewie(dot)name>
To: jian he <jian(dot)universality(at)gmail(dot)com>
Cc: David Rowley <dgrowleyml(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 03:40:25
Message-ID: 5b870856-1ff9-4776-97ba-f568eb5cbd2f@ewie.name
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-docs

On 2025-11-10 04:15 +0100, jian he wrote:
> On Thu, Nov 6, 2025 at 11:06 AM David Rowley <dgrowleyml(at)gmail(dot)com> wrote:
> >
> > I reviewed this and double checked you left "uPDaTE" in [1]. Found no
> > issues, so pushed.
> >
>
> in doc/src/sgml/func/func-matching.sgml
>
> <synopsis>
> substring(<replaceable>string</replaceable> similar
> <replaceable>pattern</replaceable> escape
> <replaceable>escape-character</replaceable>)
> </synopsis>
> or using the now obsolete SQL:1999 syntax:
> <synopsis>
> substring(<replaceable>string</replaceable> from
> <replaceable>pattern</replaceable> for
> <replaceable>escape-character</replaceable>)
> </synopsis>
> or as a plain three-argument function:
> <synopsis>
> substring(<replaceable>string</replaceable>,
> <replaceable>pattern</replaceable>,
> <replaceable>escape-character</replaceable>)
> </synopsis>
>
> 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.

--
Erik Wienhold

Attachment Content-Type Size
upcase-keywords-in-func-matching.patch text/plain 1.0 KB

In response to

Responses

Browse pgsql-docs by date

  From Date Subject
Next Message David Rowley 2025-11-10 04:20:13 Re: Use uppercase keywords in foreign key tutorial
Previous Message jian he 2025-11-10 03:15:46 Re: Use uppercase keywords in foreign key tutorial