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_1_4_29~15^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=3aa003de5b789e06d4364890f57db294e5951b77;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. (cherry picked from commit 786bc099743285ca4af3786d8f54cd59ce7a7c81) --- diff --git a/lib/sqlalchemy/dialects/postgresql/ranges.py b/lib/sqlalchemy/dialects/postgresql/ranges.py index c54179c818..e7129aebb5 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(object): """ 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. """