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_1_0~43^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2b0fa0f8a190a65aea5a284e4f7d0a22488ae560;p=thirdparty%2Fsqlalchemy%2Fsqlalchemy.git Fix table reference in PostgreSQL documentation --- diff --git a/lib/sqlalchemy/dialects/postgresql/base.py b/lib/sqlalchemy/dialects/postgresql/base.py index cc0f890dc8..09d36349fa 100644 --- a/lib/sqlalchemy/dialects/postgresql/base.py +++ b/lib/sqlalchemy/dialects/postgresql/base.py @@ -554,7 +554,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 ^^^^^^^^^^^^^^^^^