]> git.ipfire.org Git - thirdparty/freeradius-server.git/commit
Pin standard_conforming_strings on the PostgreSQL CI test database
authorArran Cudbard-Bell <a.cudbardb@freeradius.org>
Wed, 13 May 2026 03:47:36 +0000 (21:47 -0600)
committerArran Cudbard-Bell <a.cudbardb@freeradius.org>
Wed, 13 May 2026 03:47:36 +0000 (21:47 -0600)
commitdf13dfd0544c684cc6918792ae21254c1d15a450
tree19518d666e416def036119766cc4911a3da56b00
parentee5ee49afe2bf88e25cd2816cc5277b24fb66371
Pin standard_conforming_strings on the PostgreSQL CI test database

PQescapeStringConn doubles backslashes when the connection's
std_strings flag is false, which trips the backslash assertion in
src/tests/modules/sql_postgresql/escape.unlang on test servers where
the parameter isn't being reported as on. Pin it at the database
level in postgresql-setup.sh so every connection inherits it, and
restore the backslash assertion in the test.
scripts/ci/postgresql-setup.sh
src/tests/modules/sql_postgresql/escape.unlang