aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--activerecord/CHANGELOG.md10
1 files changed, 10 insertions, 0 deletions
diff --git a/activerecord/CHANGELOG.md b/activerecord/CHANGELOG.md
index 614cee4449..e0f3fbdb72 100644
--- a/activerecord/CHANGELOG.md
+++ b/activerecord/CHANGELOG.md
@@ -1,3 +1,13 @@
+* Use `UPDATE` rather than `SET` when enabling the `standard_conforming_strings`
+ setting as this allows us to avoid disabling errors on the PostgreSQL connection.
+ The former behavior would cause problems when using a connection pooling tool like
+ PgBouncer because it's not guaranteed to have the same connection between calls to
+ `execute` and it could leave the connection with errors disabled.
+
+ Fixes #22101.
+
+ *Harry Marr*
+
* Set `scope.reordering_value` to `true` if :reordering values are specified.
Fixes #21886.