summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhesham942 <heshamhatem2004@gmail.com>2025-03-04 20:32:40 +0200
committerSarah Boyce <42296566+sarahboyce@users.noreply.github.com>2025-03-05 15:18:24 +0100
commitdbd94e7ac968c8b11ddd9e4c0f323c96ba0ed2a1 (patch)
tree8c82d69cb06f3cdab0f03a56e1af23faf16974dd
parentcc405e154649af37e1741aeb4438391943133c29 (diff)
[5.1.x] Fixed #36227 -- Fixed outdated PostgreSQL documentation links.
Backport of 3ecaa85a247373d7ccbcdd593b3fd4bb701f7674 from main.
-rw-r--r--docs/ref/contrib/postgres/indexes.txt10
1 files changed, 5 insertions, 5 deletions
diff --git a/docs/ref/contrib/postgres/indexes.txt b/docs/ref/contrib/postgres/indexes.txt
index 107d9c278d..e946270ccb 100644
--- a/docs/ref/contrib/postgres/indexes.txt
+++ b/docs/ref/contrib/postgres/indexes.txt
@@ -62,7 +62,7 @@ available from the ``django.contrib.postgres.indexes`` module.
The ``deduplicate_items`` parameter was added.
.. _fillfactor: https://www.postgresql.org/docs/current/sql-createindex.html#SQL-CREATEINDEX-STORAGE-PARAMETERS
- .. _deduplicate_items: https://www.postgresql.org/docs/current/btree-implementation.html#BTREE-DEDUPLICATION
+ .. _deduplicate_items: https://www.postgresql.org/docs/current/btree.html#BTREE-DEDUPLICATION
``GinIndex``
============
@@ -72,7 +72,7 @@ available from the ``django.contrib.postgres.indexes`` module.
Creates a `gin index <https://www.postgresql.org/docs/current/gin.html>`_.
To use this index on data types not in the `built-in operator classes
- <https://www.postgresql.org/docs/current/gin-builtin-opclasses.html>`_,
+ <https://www.postgresql.org/docs/current/gin.html#GIN-BUILTIN-OPCLASSES>`_,
you need to activate the `btree_gin extension
<https://www.postgresql.org/docs/current/btree-gin.html>`_ on
PostgreSQL. You can install it using the
@@ -86,7 +86,7 @@ available from the ``django.contrib.postgres.indexes`` module.
parameter to tune the maximum size of the GIN pending list which is used
when ``fastupdate`` is enabled.
- .. _GIN Fast Update Technique: https://www.postgresql.org/docs/current/gin-implementation.html#GIN-FAST-UPDATE
+ .. _GIN Fast Update Technique: https://www.postgresql.org/docs/current/gin.html#GIN-FAST-UPDATE
.. _gin_pending_list_limit: https://www.postgresql.org/docs/current/runtime-config-client.html#GUC-GIN-PENDING-LIST-LIMIT
``GistIndex``
@@ -103,7 +103,7 @@ available from the ``django.contrib.postgres.indexes`` module.
fields <range-fields>`.
To use this index on data types not in the built-in `gist operator classes
- <https://www.postgresql.org/docs/current/gist-builtin-opclasses.html>`_,
+ <https://www.postgresql.org/docs/current/gist.html#GIST-BUILTIN-OPCLASSES>`_,
you need to activate the `btree_gist extension
<https://www.postgresql.org/docs/current/btree-gist.html>`_ on PostgreSQL.
You can install it using the
@@ -116,7 +116,7 @@ available from the ``django.contrib.postgres.indexes`` module.
Provide an integer value from 10 to 100 to the fillfactor_ parameter to
tune how packed the index pages will be. PostgreSQL's default is 90.
- .. _buffering build: https://www.postgresql.org/docs/current/gist-implementation.html#GIST-BUFFERING-BUILD
+ .. _buffering build: https://www.postgresql.org/docs/current/gist.html#GIST-BUFFERING-BUILD
.. _fillfactor: https://www.postgresql.org/docs/current/sql-createindex.html#SQL-CREATEINDEX-STORAGE-PARAMETERS
``HashIndex``