summaryrefslogtreecommitdiff
path: root/lib/sqlalchemy/dialects/postgresql/constraints.py
diff options
context:
space:
mode:
authorChris Withers <chris@simplistix.co.uk>2013-06-10 13:24:02 +0100
committerChris Withers <chris@simplistix.co.uk>2013-06-10 13:24:02 +0100
commitb2da12e070e9d83bea5284dae11b8e6d4d509818 (patch)
tree2feac282d4b53875b0ddcc95b0b26768a7c668da /lib/sqlalchemy/dialects/postgresql/constraints.py
parentb2ea2eef5db160183cd4f812b0ce1636d8799b91 (diff)
downloadsqlalchemy-pr/5.tar.gz
Documentation for the new range type support.pr/5
Diffstat (limited to 'lib/sqlalchemy/dialects/postgresql/constraints.py')
-rw-r--r--lib/sqlalchemy/dialects/postgresql/constraints.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/sqlalchemy/dialects/postgresql/constraints.py b/lib/sqlalchemy/dialects/postgresql/constraints.py
index 88d688a05..5b8bbe643 100644
--- a/lib/sqlalchemy/dialects/postgresql/constraints.py
+++ b/lib/sqlalchemy/dialects/postgresql/constraints.py
@@ -6,12 +6,12 @@ from sqlalchemy.schema import ColumnCollectionConstraint
from sqlalchemy.sql import expression
class ExcludeConstraint(ColumnCollectionConstraint):
- """A table-level UNIQUE constraint.
+ """A table-level EXCLUDE constraint.
- Defines a single column or composite UNIQUE constraint. For a no-frills,
- single column constraint, adding ``unique=True`` to the ``Column``
- definition is a shorthand equivalent for an unnamed, single column
- UniqueConstraint.
+ Defines an EXCLUDE constraint as described in the `postgres
+ documentation`__.
+
+ __ http://www.postgresql.org/docs/9.0/static/sql-createtable.html#SQL-CREATETABLE-EXCLUDE
"""
__visit_name__ = 'exclude_constraint'