From: Leo Singer Date: Fri, 8 Oct 2021 02:07:08 +0000 (-0400) Subject: Update references to tables in PostgreSQL documentation X-Git-Tag: rel_2_0_0b1~606^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=786bc099743285ca4af3786d8f54cd59ce7a7c81;p=thirdparty%2Fsqlalchemy%2Fsqlalchemy.git Update references to tables in PostgreSQL documentation Since the table numbers change from one version of PostgreSQL to the next, refer to the tables by name rather than by number. --- diff --git a/lib/sqlalchemy/dialects/postgresql/ranges.py b/lib/sqlalchemy/dialects/postgresql/ranges.py index d141ee731c..46114be6b8 100644 --- a/lib/sqlalchemy/dialects/postgresql/ranges.py +++ b/lib/sqlalchemy/dialects/postgresql/ranges.py @@ -13,15 +13,15 @@ __all__ = ("INT4RANGE", "INT8RANGE", "NUMRANGE") class RangeOperators: """ This mixin provides functionality for the Range Operators - listed in Table 9-44 of the `PostgreSQL documentation`__ for Range - Functions and Operators. It is used by all the range types + listed in the Range Operators table of the `PostgreSQL documentation`__ + for Range Functions and Operators. It is used by all the range types provided in the ``postgres`` dialect and can likely be used for any range types you create yourself. __ https://www.postgresql.org/docs/devel/static/functions-range.html - No extra support is provided for the Range Functions listed in - Table 9-45 of the PostgreSQL documentation. For these, the normal + No extra support is provided for the Range Functions listed in the Range + Functions table of the PostgreSQL documentation. For these, the normal :func:`~sqlalchemy.sql.expression.func` object should be used. """