#33539: Missing space in SQL generated by PostgresIndex
--------------------------------------------+------------------------
Reporter: Anders Kaseorg | Owner: (none)
Type: Bug | Status: new
Component: contrib.postgres | Version: 3.2
Severity: Normal | Keywords:
Triage Stage: Unreviewed | Has patch: 1
Needs documentation: 0 | Needs tests: 0
Patch needs improvement: 0 | Easy pickings: 1
UI/UX: 0 |
--------------------------------------------+------------------------
If I define an index like
`GinIndex("search_tsvector", fastupdate=False,
name="zerver_message_search_tsvector")`
the following output is generated by `manage.py sqlmigrate`:
`CREATE INDEX "zerver_message_search_tsvector" ON "zerver_message" USING
gin ("search_tsvector")WITH (fastupdate = off) ;`
Note the missing space before `WITH`.
Patch: https://github.com/django/django/pull/15459
--
Ticket URL: <https://code.djangoproject.com/ticket/33539>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/050.e24a453ce0806f17ebc4995ecdbce6b4%40djangoproject.com.