]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
- Inserting NULL into a primary key + foreign key column
authorMike Bayer <mike_mp@zzzcomputing.com>
Mon, 31 Aug 2009 20:38:14 +0000 (20:38 +0000)
committerMike Bayer <mike_mp@zzzcomputing.com>
Mon, 31 Aug 2009 20:38:14 +0000 (20:38 +0000)
commit3d38969fd4f88d996d438df63f7cbb1833b63429
tree33f33709c5abcfad827bcc0460f9a51558e36542
parentf3480a7ff4d0994bf201f830f31f416a7b1e9f0f
- Inserting NULL into a primary key + foreign key column
will allow the "not null constraint" error to raise,
not an attempt to execute a nonexistent "col_id_seq"
sequence.  [ticket:1516]

- autoincrement SELECT statements, i.e. those which
select from a procedure that modifies rows, now work
with server-side cursor mode (the named cursor isn't
used for such statements.)
CHANGES
lib/sqlalchemy/dialects/postgresql/base.py
lib/sqlalchemy/dialects/postgresql/psycopg2.py
lib/sqlalchemy/engine/default.py
lib/sqlalchemy/sql/compiler.py
test/dialect/test_postgresql.py
test/orm/inheritance/test_query.py