From: Michael Williamson Date: Sun, 28 Aug 2016 11:22:42 +0000 (+0100) Subject: Fix table reference in PostgreSQL documentation X-Git-Tag: rel_1_0_15~3 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=fb0a0eedaa8cb806da64b986c1913b8308198670;p=thirdparty%2Fsqlalchemy%2Fsqlalchemy.git Fix table reference in PostgreSQL documentation (cherry picked from commit 2b0fa0f8a190a65aea5a284e4f7d0a22488ae560) --- diff --git a/lib/sqlalchemy/dialects/postgresql/base.py b/lib/sqlalchemy/dialects/postgresql/base.py index 766847c76d..3266677100 100644 --- a/lib/sqlalchemy/dialects/postgresql/base.py +++ b/lib/sqlalchemy/dialects/postgresql/base.py @@ -360,7 +360,7 @@ Partial indexes add criterion to the index definition so that the index is applied to a subset of rows. These can be specified on :class:`.Index` using the ``postgresql_where`` keyword argument:: - Index('my_index', my_table.c.id, postgresql_where=tbl.c.value > 10) + Index('my_index', my_table.c.id, postgresql_where=my_table.c.value > 10) Operator Classes ^^^^^^^^^^^^^^^^^