#24585: Remove repetitive guarding against double quoting database identifiers
-------------------------------------+-------------------------------------
Reporter: jdufresne | Owner: nobody
Type: | Status: new
Cleanup/optimization |
Component: Database layer | Version: master
(models, ORM) |
Severity: Normal | Resolution:
Keywords: | Triage Stage:
| Unreviewed
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Comment (by claudep):
I know about one use case (undocumented/untested) where this check might
be useful. It's about unmanaged PostgreSQL tables in non-default (i.e. not
public) schema (the target of #6148). Currently, you can define the
`db_table` meta attribute to `'"schema"."table_name"'`, and it works, at
least with standard ORM methods. I'm afraid that your patch will break
this.
--
Ticket URL: <https://code.djangoproject.com/ticket/24585#comment:2>
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 post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/067.654b91af6e2a34b161267a29f52d5a32%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.