summaryrefslogtreecommitdiff
path: root/docs/releases/5.0.txt
diff options
context:
space:
mode:
authorAnders Kaseorg <andersk@mit.edu>2023-05-29 21:59:22 -0700
committerMariusz Felisiak <felisiak.mariusz@gmail.com>2023-06-08 20:41:18 +0200
commitb81e974e9ea16bd693b194a728f77fb825ec8e54 (patch)
treee0c816bf6751563791235ae95402e43af1acf6b1 /docs/releases/5.0.txt
parentee36e101e8f8c0acde4bb148b738ab7034e902a0 (diff)
Fixed #34604 -- Corrected fallback SQL for n-ary logical XOR.
An n-ary logical XOR Q(…) ^ Q(…) ^ … ^ Q(…) should evaluate to true when an odd number of its operands evaluate to true, not when exactly one operand evaluates to true.
Diffstat (limited to 'docs/releases/5.0.txt')
-rw-r--r--docs/releases/5.0.txt5
1 files changed, 5 insertions, 0 deletions
diff --git a/docs/releases/5.0.txt b/docs/releases/5.0.txt
index 98bd5d2a9f..fb446fcd7a 100644
--- a/docs/releases/5.0.txt
+++ b/docs/releases/5.0.txt
@@ -424,6 +424,11 @@ Miscellaneous
a page. Having two ``<h1>`` elements was confusing and the site header wasn't
helpful as it is repeated on all pages.
+* On databases without native support for the SQL ``XOR`` operator, ``^`` as
+ the exclusive or (``XOR``) operator now returns rows that are matched by an
+ odd number of operands rather than exactly one operand. This is consistent
+ with the behavior of MySQL, MariaDB, and Python.
+
.. _deprecated-features-5.0:
Features deprecated in 5.0