]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
Add opsclass to exclusion constraint
authorAlonM <alon.menczer@gmail.com>
Sun, 15 Nov 2020 13:13:25 +0000 (08:13 -0500)
committerMike Bayer <mike_mp@zzzcomputing.com>
Mon, 16 Nov 2020 19:07:26 +0000 (14:07 -0500)
commit41c59267095b0725de006be94f4118ca9fc31fa8
tree242798c1e5e5c80b15c9c115b7f9a2171b19c7a5
parent1a6ac572574443bf3733f1a7a330c7f81db88c4f
Add opsclass to exclusion constraint

Added new parameter :paramref:`_postgresql.ExcludeConstraint.ops` to the
:class:`_postgresql.ExcludeConstraint` object, to support operator class
specification with this constraint.  Pull request courtesy Alon Menczer.

Fixes: #5604
Closes: #5700
Pull-request: https://github.com/sqlalchemy/sqlalchemy/pull/5700
Pull-request-sha: f8613e100792fc0bb3cf300ec6aebc78ecdf0361

Change-Id: Iaf664131ec84f8c2fb05edf799198b8d3bb83597
(cherry picked from commit 018aa9870110ef97316e9984c7ecd7f3357b501a)
doc/build/changelog/unreleased_13/5604.rst [new file with mode: 0644]
lib/sqlalchemy/dialects/postgresql/base.py
lib/sqlalchemy/dialects/postgresql/ext.py
test/dialect/postgresql/test_compiler.py