[Django] #35075: Add support for deduplicate_items option to BTreeIndex for PostgreSQL 13+.

11 views
Skip to first unread message

Django

unread,
Dec 30, 2023, 6:50:11 PM12/30/23
to django-...@googlegroups.com
#35075: Add support for deduplicate_items option to BTreeIndex for PostgreSQL 13+.
-------------------------------------+-------------------------------------
Reporter: Nick Pope | Owner: Nick Pope
Type: New | Status: assigned
feature |
Component: | Version: dev
contrib.postgres | Keywords: postgresql,
Severity: Normal | indexes, btree, deduplication
Triage Stage: | Has patch: 0
Unreviewed |
Needs documentation: 0 | Needs tests: 0
Patch needs improvement: 0 | Easy pickings: 0
UI/UX: 0 |
-------------------------------------+-------------------------------------
Expose the `deduplicate_items` option to allow disabling deduplication
when needed.

See https://www.postgresql.org/docs/16/btree-implementation.html#BTREE-
DEDUPLICATION

--
Ticket URL: <https://code.djangoproject.com/ticket/35075>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

Django

unread,
Dec 30, 2023, 6:52:16 PM12/30/23
to django-...@googlegroups.com
#35075: Add support for deduplicate_items option to BTreeIndex for PostgreSQL 13+.
-------------------------------------+-------------------------------------
Reporter: Nick Pope | Owner: Nick Pope
Type: New feature | Status: assigned
Component: contrib.postgres | Version: dev
Severity: Normal | Resolution:
Keywords: postgresql, | Triage Stage:
indexes, btree, deduplication | Unreviewed
Has patch: 1 | Needs documentation: 0

Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by Nick Pope):

* has_patch: 0 => 1


Comment:

[https://github.com/django/django/pull/17666 PR]

--
Ticket URL: <https://code.djangoproject.com/ticket/35075#comment:1>

Django

unread,
Dec 31, 2023, 2:46:42 AM12/31/23
to django-...@googlegroups.com
#35075: Add support for deduplicate_items option to BTreeIndex for PostgreSQL 13+.
-------------------------------------+-------------------------------------
Reporter: Nick Pope | Owner: Nick Pope
Type: New feature | Status: assigned
Component: contrib.postgres | Version: dev
Severity: Normal | Resolution:
Keywords: postgresql, | Triage Stage: Accepted
indexes, btree, deduplication |

Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by Mariusz Felisiak):

* stage: Unreviewed => Accepted


--
Ticket URL: <https://code.djangoproject.com/ticket/35075#comment:2>

Django

unread,
Jan 2, 2024, 6:56:32 AM1/2/24
to django-...@googlegroups.com
#35075: Add support for deduplicate_items option to BTreeIndex for PostgreSQL 13+.
-------------------------------------+-------------------------------------
Reporter: Nick Pope | Owner: Nick Pope
Type: New feature | Status: assigned
Component: contrib.postgres | Version: dev
Severity: Normal | Resolution:
Keywords: postgresql, | Triage Stage: Ready for
indexes, btree, deduplication | checkin

Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by Mariusz Felisiak):

* stage: Accepted => Ready for checkin


--
Ticket URL: <https://code.djangoproject.com/ticket/35075#comment:3>

Django

unread,
Jan 2, 2024, 7:39:31 AM1/2/24
to django-...@googlegroups.com
#35075: Add support for deduplicate_items option to BTreeIndex for PostgreSQL 13+.
-------------------------------------+-------------------------------------
Reporter: Nick Pope | Owner: Nick Pope
Type: New feature | Status: closed
Component: contrib.postgres | Version: dev
Severity: Normal | Resolution: fixed

Keywords: postgresql, | Triage Stage: Ready for
indexes, btree, deduplication | checkin
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by Mariusz Felisiak <felisiak.mariusz@…>):

* status: assigned => closed
* resolution: => fixed


Comment:

In [changeset:"45f778eded9dff59cfdd4dce8720daf87a08cfac" 45f778e]:
{{{
#!CommitTicketReference repository=""
revision="45f778eded9dff59cfdd4dce8720daf87a08cfac"
Fixed #35075 -- Added deduplicate_items parameter to BTreeIndex.
}}}

--
Ticket URL: <https://code.djangoproject.com/ticket/35075#comment:4>

Reply all
Reply to author
Forward
0 new messages