]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commitdiff
Update references to tables in PostgreSQL documentation
authorLeo Singer <leo.singer@ligo.org>
Fri, 8 Oct 2021 02:07:08 +0000 (22:07 -0400)
committerFederico Caselli <cfederico87@gmail.com>
Fri, 10 Dec 2021 13:27:19 +0000 (14:27 +0100)
Since the table numbers change from one version of PostgreSQL to
the next, refer to the tables by name rather than by number.

lib/sqlalchemy/dialects/postgresql/ranges.py

index d141ee731c3d4ffa446b52cd95aa27b923c932bd..46114be6b8bf03963a5805df945c40f8ed940e9f 100644 (file)
@@ -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.
 
     """