#33804 closed Cleanup/optimization (fixed)
GinIndex's gin_pending_list_limit parameter is in kilobytes.
Reported by: | sidty | Owned by: | Ian Wootten |
---|---|---|---|
Component: | Documentation | Version: | 4.0 |
Severity: | Normal | Keywords: | GinIndex |
Cc: | sidty | Triage Stage: | Ready for checkin |
Has patch: | yes | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | yes | UI/UX: | no |
Description
In django postgres-GinIndex docs (https://docs.djangoproject.com/en/4.0/ref/contrib/postgres/indexes/#ginindex)
In last paragraph of GinIndex docs.
"Provide an integer number of bytes ..."
But in postgres (https://www.postgresql.org/docs/current/runtime-config-client.html#GUC-GIN-PENDING-LIST-LIMIT)
In mid of 2nd line of paragraph.
"If this value is specified without units, it is taken as kilobytes. "
(And django sends value without any units.)
So django-docs asks for bytes but postgres-docs check for kilobytes.
Change History (10)
comment:1 by , 2 years ago
Cc: | added |
---|
comment:2 by , 2 years ago
Easy pickings: | set |
---|---|
Summary: | Postgres GinIndex Documentation bug!!! → GinIndex's gin_pending_list_limit parameter is in kilobytes. |
Triage Stage: | Unreviewed → Accepted |
Type: | Bug → Cleanup/optimization |
comment:4 by , 2 years ago
Replying to Mariusz Felisiak:
Would you like to prepare a patch?
Actually I am struggling a lot with internet speed at my current location. I would like you to do it.
comment:5 by , 2 years ago
Owner: | changed from | to
---|---|
Status: | new → assigned |
comment:6 by , 2 years ago
Has patch: | set |
---|---|
Resolution: | → fixed |
Status: | assigned → closed |
Fixed this in this PR: https://github.com/django/django/pull/15794
comment:7 by , 2 years ago
Resolution: | fixed |
---|---|
Status: | closed → new |
Triage Stage: | Accepted → Ready for checkin |
This is not fixed, because the patch has not yet been merged (see Triage workflow).
comment:10 by , 2 years ago
Replying to Mariusz Felisiak <felisiak.mariusz@…>:
In 2026314b:
Thanks for the report. PostgreSQL docs starts do mention kilobytes in version 12+, so we should amend this.