From b280175b5a58491e6f7adad88bc4435bc43f1f7b Mon Sep 17 00:00:00 2001 From: hesham942 Date: Tue, 4 Mar 2025 20:32:40 +0200 Subject: [PATCH] [5.2.x] Fixed #36227 -- Fixed outdated PostgreSQL documentation links. Backport of 3ecaa85a247373d7ccbcdd593b3fd4bb701f7674 from main. --- docs/ref/contrib/postgres/indexes.txt | 10 +++++----- 1 file 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 `_. To use this index on data types not in the `built-in operator classes - `_, + `_, you need to activate the `btree_gin extension `_ 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 `. To use this index on data types not in the built-in `gist operator classes - `_, + `_, you need to activate the `btree_gist extension `_ 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``