From 3aa003de5b789e06d4364890f57db294e5951b77 Mon Sep 17 00:00:00 2001 From: Leo Singer Date: Thu, 7 Oct 2021 22:07:08 -0400 Subject: [PATCH] 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) --- lib/sqlalchemy/dialects/postgresql/ranges.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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. """ -- 2.47.3