Re: [PATCH] Doc: document standard_conforming_strings dump/restore incompatibility

From: Bruce Momjian <bruce(at)momjian(dot)us>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Baji Shaik <baji(dot)pgdev(at)gmail(dot)com>, pgsql-hackers(at)lists(dot)postgresql(dot)org
Subject: Re: [PATCH] Doc: document standard_conforming_strings dump/restore incompatibility
Date: 2026-06-18 16:20:15
Message-ID: ajQav8zUY0IHZ0aX@momjian.us
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Thu, Jun 18, 2026 at 11:34:46AM -0400, Tom Lane wrote:
> Bruce Momjian <bruce(at)momjian(dot)us> writes:
> > On Wed, Jun 17, 2026 at 01:29:09PM -0400, Tom Lane wrote:
> >> I'm inclined to do more or less the attached, which also fixes what
> >> seems a thinko in the existing text: we should say that clients still
> >> support standard_conforming_strings = off, not
> >> escape_string_warning = off.
>
> > I have applied a slightly modified version to master, attached. The git
> > commit suggested this problem, but I didn't understand the impact at the
> > time I read it.
>
> This didn't correct the point I complained of above: it still says
>
> Client applications still support <literal>escape_string_warning = off</literal> for compatibility with old servers.
>
> The notion of a client "supporting" escape_string_warning seems quite
> meaningless. I think this intended to say standard_conforming_strings =
> off.

Ah, yes, I see my mistake now. Attached patch applied using your wording.

--
Bruce Momjian <bruce(at)momjian(dot)us> https://momjian.us
EDB https://enterprisedb.com

Do not let urgent matters crowd out time for investment in the future.

Attachment Content-Type Size
master.diff text/x-diff 789 bytes

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Srinath Reddy Sadipiralla 2026-06-18 16:21:06 SQL/JSON: JSON_TRANSFORM (SQL standard, subclause 6.44)
Previous Message Fujii Masao 2026-06-18 16:14:47 Re: IGNORE/RESPECT NULLS can be specified for (prokind == 'f').