Re: Remove obsolete mention of backslashes as escapes - Mailing list pgsql-docs

From Kirk Wolak
Subject Re: Remove obsolete mention of backslashes as escapes
Date
Msg-id CACLU5mR0AT2yn_-JQFhZWR+V5r=k0J-VW=pyLea5s8ZkogvQ9A@mail.gmail.com
Whole thread Raw
In response to Remove obsolete mention of backslashes as escapes  (Laurenz Albe <laurenz.albe@cybertec.at>)
List pgsql-docs
On Tue, Apr 11, 2023 at 3:54 AM Laurenz Albe <laurenz.albe@cybertec.at> wrote:
The documentation in
https://www.postgresql.org/docs/current/sql-syntax-lexical.html#SQL-SYNTAX-DOLLAR-QUOTING
says that

 "While the standard syntax for specifying string constants is usually convenient,
  it can be difficult to understand when the desired string contains many single
  quotes or backslashes, since each of those must be doubled."

But this has been obsolete ever since version 9.1, when "standard_conforming_strings"
started to default to "on".  It has confused at least one reader:
https://dba.stackexchange.com/q/325850/176905

So I propose to remove the mention of backslashes there.

Yours,
Laurenz Albe
+1 I like this..  It's more clear and more accurate! 

pgsql-docs by date:

Previous
From: Daniel Gustafsson
Date:
Subject: Re: Should 'sum(mvf)' read 'sum(mcv)'...?
Next
From: PG Doc comments form
Date:
Subject: Packaging Related Objects into an Extension