Re: Can we remove support for standard_conforming_strings = off yet?

From: jian he <jian(dot)universality(at)gmail(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Julien Rouhaud <rjuju123(at)gmail(dot)com>, John Naylor <johncnaylorls(at)gmail(dot)com>, Andrew Dunstan <andrew(at)dunslane(dot)net>, pgsql-hackers(at)lists(dot)postgresql(dot)org
Subject: Re: Can we remove support for standard_conforming_strings = off yet?
Date: 2026-01-30 10:10:47
Message-ID: CACJufxHdqWj45RLc4k2bDX25+7wLCO5GYX1yeQHXzX1jhrtxjg@mail.gmail.com
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

hi.

_allocAH is called by OpenArchive and CreateArchive. in _allocAH, we can set

AH->public.std_strings = true;

that would be more future-proof, otherwise after OpenArchive,
executing the query ``SET standard_conforming_strings = off;``
would result in an error.

--
jian
https://www.enterprisedb.com/

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Andy Fan 2026-01-30 10:23:00 Re:Re: A out of date comment of WaitForWALToBecomeAvailable
Previous Message Kirill Reshke 2026-01-30 09:59:57 Re: eliminate xl_heap_visible to reduce WAL (and eventually set VM on-access)