summaryrefslogtreecommitdiff
path: root/lib/sqlalchemy/dialects/postgresql/pypostgresql.py
diff options
context:
space:
mode:
authorMike Bayer <mike_mp@zzzcomputing.com>2014-05-28 20:01:21 -0400
committerMike Bayer <mike_mp@zzzcomputing.com>2014-05-28 20:01:49 -0400
commit16b7f1816d54955da3062ecb3aa5012e2549cb26 (patch)
tree675b0a59dd55bf937dc2402fbc2de17779e6b43d /lib/sqlalchemy/dialects/postgresql/pypostgresql.py
parentd70a03dbe655506d8306af7fc601dae9c528418b (diff)
downloadsqlalchemy-16b7f1816d54955da3062ecb3aa5012e2549cb26.tar.gz
- Fixed a few edge cases which arise in the so-called "row switch"
scenario, where an INSERT/DELETE can be turned into an UPDATE. In this situation, a many-to-one relationship set to None, or in some cases a scalar attribute set to None, may not be detected as a net change in value, and therefore the UPDATE would not reset what was on the previous row. This is due to some as-yet unresovled side effects of the way attribute history works in terms of implicitly assuming None isn't really a "change" for a previously un-set attribute. See also :ticket:`3061`. fixes #3060
Diffstat (limited to 'lib/sqlalchemy/dialects/postgresql/pypostgresql.py')
0 files changed, 0 insertions, 0 deletions