]> 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:02:49 +0000 (14:02 -0500)
commit018aa9870110ef97316e9984c7ecd7f3357b501a
tree2269fd252e87c83c4ad31925a7840124564871e1
parentbddb1070f9fa846233255fd0acd5316404560de1
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
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