Re: Use uppercase keywords in foreign key tutorial

jian he <jian.universality@gmail.com>

From: jian he <jian.universality@gmail.com>
To: David Rowley <dgrowleyml@gmail.com>
Cc: Erik Wienhold <ewie@ewie.name>, Tom Lane <tgl@sss.pgh.pa.us>, Bruce Momjian <bruce@momjian.us>, Nathan Bossart <nathandbossart@gmail.com>, Euler Taveira <euler@eulerto.com>, pgsql-docs@lists.postgresql.org
Date: 2025-11-10T03:15:46Z
Lists: pgsql-docs
On Thu, Nov 6, 2025 at 11:06 AM David Rowley <dgrowleyml@gmail.com> wrote:
>
> I reviewed this and double checked you left "uPDaTE" in [1]. Found no
> issues, so pushed.
>

hi.

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?


--
jian
https://www.enterprisedb.com/



Commits

  1. Doc: more uppercase keywords in SQLs

  2. Doc: use uppercase keywords in SQLs