Remove obsolete mention of backslashes as escapes

From: Laurenz Albe <laurenz(dot)albe(at)cybertec(dot)at>
To: pgsql-docs(at)lists(dot)postgresql(dot)org
Subject: Remove obsolete mention of backslashes as escapes
Date: 2023-04-11 07:54:11
Message-ID: 0b03f91a875fb44182f5bed9e1d404ed6d138066.camel@cybertec.at
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-docs

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

Attachment Content-Type Size
0001-Remove-obsolete-mention-of-backslashes-as-escapes.patch text/x-patch 1.2 KB

Responses

Browse pgsql-docs by date

  From Date Subject
Next Message Michael Paquier 2023-04-12 00:28:03 Re: Certificate authentication docs in multiple places
Previous Message Steve Atkins 2023-04-10 08:47:08 Re: Certificate authentication docs in multiple places