substring synopsis section, third argument is optional doc didn't show that - Mailing list pgsql-docs

From jian he
Subject substring synopsis section, third argument is optional doc didn't show that
Date
Msg-id CACJufxG0npso=EwpMHeqG1tFhHayo9o51cTfjP9imj3WNvVBvA@mail.gmail.com
Whole thread Raw
Responses Re: substring synopsis section, third argument is optional doc didn't show that
List 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:"



pgsql-docs by date:

Previous
From: PG Doc comments form
Date:
Subject: Typo on tutorial window page
Next
From: PG Doc comments form
Date:
Subject: Request for Formal Syntax of WHERE Clause Conditions