]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
Postgresql default to no backslash escaping
authorFederico Caselli <cfederico87@gmail.com>
Wed, 29 Apr 2026 20:11:35 +0000 (22:11 +0200)
committerFederico Caselli <cfederico87@gmail.com>
Wed, 29 Apr 2026 21:16:09 +0000 (23:16 +0200)
commit08eee60332fbd3bbf7da6885b5de3748b40fb36a
tree8439e55c270a2a12f851865995d26ef12268fb2c
parent65192be2a46964e6934f54aab4a05218f9c4c871
Postgresql default to no backslash escaping

Changed the default backslash escape value in the PostgreSQL dialect to
``False`` to align it with the default value of
``standard_conforming_strings=on``. This change should not affect most users
since the value is set at driver initialization on first connect.

Fixes: #13268
Change-Id: I9b7986f1ee466fab3cab88e3f6117e313e3376cd
doc/build/changelog/unreleased_21/11450.rst
doc/build/changelog/unreleased_21/13268.rst [new file with mode: 0644]
lib/sqlalchemy/dialects/postgresql/base.py
test/dialect/postgresql/test_compiler.py
test/dialect/postgresql/test_dialect.py
test/sql/test_operators.py