Opened 9 years ago
Closed 9 years ago
#26542 closed Bug (fixed)
Extension names are not properly quoted in the PostgreSQL CreateExtension operation
Description ¶
Running CreateExtension('uuid-ossp')
in the current version of Django fails with a Postgres syntax error.
Change History (7)
by , 9 years ago
Attachment: | 26542.diff added |
---|
comment:1 by , 9 years ago
comment:2 by , 9 years ago
Triage Stage: | Unreviewed → Accepted |
---|
comment:3 by , 9 years ago
comment:4 by , 9 years ago
I went ahead and made the suggested change and proposed it as a pull request on Github.
Let me know if there are any other changes I should make!
comment:5 by , 9 years ago
Triage Stage: | Accepted → Ready for checkin |
---|
Note:
See TracTickets
for help on using tickets.
Conrad, would you be able to propose your patch as a pull request on Github?
I think you could improve it a bit by using the
quote_name
method instead of literal quotes.