Thread: Forgotten quote signs in description of "array value as a literal constant"

Forgotten quote signs in description of "array value as a literal constant"

From
PG Doc comments form
Date:
The following documentation comment has been logged on the website:

Page: https://www.postgresql.org/docs/12/arrays.html
Description:

Documentation should mention single quotes in "array value as a literal
constant" description.

Re: Forgotten quote signs in description of "array value as a literal constant"

From
"David G. Johnston"
Date:
On Mon, Oct 5, 2020 at 9:32 AM PG Doc comments form <noreply@postgresql.org> wrote:
The following documentation comment has been logged on the website:

Page: https://www.postgresql.org/docs/12/arrays.html
Description:

Documentation should mention single quotes in "array value as a literal
constant" description.

The choice to not repeat the fact that string literals in PostgreSQL are always written with surrounding single quotes (or dollar-quoting if one so chooses) does not seem problematic, especially given the explicitness of the examples.  Much of the documentation rightfully assumes one has read and memorized the syntax for writing a literal constant.

David J.