]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
Remove postgres version check for NOT VALID constraints. 7601/head
authorGilbert Gilb's <gilbsgilbert@gmail.com>
Sat, 22 Jan 2022 02:30:55 +0000 (03:30 +0100)
committerGilbert Gilb's <gilbsgilbert@gmail.com>
Sun, 23 Jan 2022 17:53:54 +0000 (18:53 +0100)
commit78eecd55fd9fad07030d963f5fd6713c4af60e80
treed3f481d1068fe3b41bd60b38867f2d13ac150b0e
parent21a1e9e402d8c1b4fd3739dd4c93df3e0b5b4b08
Remove postgres version check for NOT VALID constraints.

- PostgreSQL 9.0 has reached EOL more than 6 years ago
- SQLAlchemy "normal support" is based at 9.6: https://docs.sqlalchemy.org/en/14/dialects/postgresql.html
- One can still not use the option and it will still work with older
  postgres version
lib/sqlalchemy/dialects/postgresql/base.py
test/dialect/postgresql/test_compiler.py