summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorMike Bayer <mike_mp@zzzcomputing.com>2016-10-04 16:46:08 -0400
committerMike Bayer <mike_mp@zzzcomputing.com>2016-10-04 17:31:40 -0400
commit20384e894577bc6cd7e686a71e6e859207565d00 (patch)
treee4695f067ce8586070e5e3a40aec57f646dc022f /doc
parente5a5a72e175d7c6a70d5b2a0399377c7a133cced (diff)
downloadsqlalchemy-20384e894577bc6cd7e686a71e6e859207565d00.tar.gz
Check row for None with implicit returning PK to accommodate ON CONFLICT
An adjustment to ON CONFLICT such that the "inserted_primary_key" logic is able to accommodate the case where there's no INSERT or UPDATE and there's no net change. The value comes out as None in this case, rather than failing on an exception. Change-Id: I0794e95c3ca262cb1ab2387167d96b8984225fce Fixes: #3813
Diffstat (limited to 'doc')
-rw-r--r--doc/build/changelog/changelog_11.rst9
1 files changed, 9 insertions, 0 deletions
diff --git a/doc/build/changelog/changelog_11.rst b/doc/build/changelog/changelog_11.rst
index c5be9c7c2..afdade444 100644
--- a/doc/build/changelog/changelog_11.rst
+++ b/doc/build/changelog/changelog_11.rst
@@ -32,6 +32,15 @@
mechanism is invoked at all.
.. change::
+ :tags: bug, postgresql
+ :tickets: 3813
+
+ An adjustment to ON CONFLICT such that the "inserted_primary_key"
+ logic is able to accommodate the case where there's no INSERT or
+ UPDATE and there's no net change. The value comes out as None
+ in this case, rather than failing on an exception.
+
+ .. change::
:tags: bug, orm
:tickets: 3811