summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorMike Bayer <mike_mp@zzzcomputing.com>2014-01-18 19:26:56 -0500
committerMike Bayer <mike_mp@zzzcomputing.com>2014-01-18 19:26:56 -0500
commit1af8e2491dcbed723d2cdafd44fd37f1a6908e91 (patch)
treee8da1423783c09d480905bb9fe84dc86b8bd0a0a /doc
parent4dfc7fb08716c6f4995dd656a24f092ad0cc91f4 (diff)
downloadsqlalchemy-1af8e2491dcbed723d2cdafd44fd37f1a6908e91.tar.gz
- implement kwarg validation and type system for dialect-specific
arguments; [ticket:2866] - add dialect specific kwarg functionality to ForeignKeyConstraint, ForeignKey
Diffstat (limited to 'doc')
-rw-r--r--doc/build/changelog/changelog_09.rst24
1 files changed, 24 insertions, 0 deletions
diff --git a/doc/build/changelog/changelog_09.rst b/doc/build/changelog/changelog_09.rst
index 86bd004a3..63f95d242 100644
--- a/doc/build/changelog/changelog_09.rst
+++ b/doc/build/changelog/changelog_09.rst
@@ -15,6 +15,30 @@
:version: 0.9.2
.. change::
+ :tags: feature, sql
+ :tickets: 2866
+
+ The system by which schema constructs and certain SQL constructs
+ accept dialect-specific keyword arguments has been enhanced. This
+ system includes commonly the :class:`.Table` and :class:`.Index` constructs,
+ which accept a wide variety of dialect-specific arguments such as
+ ``mysql_engine`` and ``postgresql_where``, as well as the constructs
+ :class:`.PrimaryKeyConstraint`, :class:`.UniqueConstraint`,
+ :class:`.Update`, :class:`.Insert` and :class:`.Delete`, and also
+ newly added kwarg capability to :class:`.ForeignKeyConstraint`
+ and :class:`.ForeignKey`. The change is that participating dialects
+ can now specify acceptable argument lists for these constructs, allowing
+ an argument error to be raised if an invalid keyword is specified for
+ a particular dialect. If the dialect portion of the keyword is unrecognized,
+ a warning is emitted only; while the system will actually make use
+ of setuptools entrypoints in order to locate non-local dialects,
+ the use case where certain dialect-specific arguments are used
+ in an environment where that third-party dialect is uninstalled remains
+ supported. Dialects also have to explicitly opt-in to this system,
+ so that external dialects which aren't making use of this system
+ will remain unaffected.
+
+ .. change::
:tags: bug, sql
:pullreq: bitbucket:11