substring synopsis section, third argument is optional doc didn't show that

From: jian he <jian(dot)universality(at)gmail(dot)com>
To: pgsql-docs(at)lists(dot)postgresql(dot)org
Subject: substring synopsis section, third argument is optional doc didn't show that
Date: 2025-01-21 08:00:21
Message-ID: CACJufxG0npso=EwpMHeqG1tFhHayo9o51cTfjP9imj3WNvVBvA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-docs

hi.
https://www.postgresql.org/docs/current/functions-matching.html#FUNCTIONS-SIMILARTO-REGEXP

"""
or as a plain three-argument function:
substring(string, pattern, escape-character)
"""

but here "escape-character" is optional.

substring(string, pattern [,escape-character])
would be more accurate.
then we may also need to rephrase
"or as a plain three-argument function:"

Responses

Browse pgsql-docs by date

  From Date Subject
Next Message PG Doc comments form 2025-01-21 16:01:59 Request for Formal Syntax of WHERE Clause Conditions
Previous Message PG Doc comments form 2025-01-20 13:28:53 Typo on tutorial window page