Opened 19 years ago
Closed 19 years ago
#646 closed defect (fixed)
inspectdb fails on tables with "-" in the name
Reported by: | Owned by: | Adrian Holovaty | |
---|---|---|---|
Component: | Core (Management commands) | Version: | |
Severity: | normal | Keywords: | |
Cc: | Triage Stage: | Unreviewed | |
Has patch: | no | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Description
inspectdb fails for tables that have dashes in the name (using postgres). These tables can be created and manipulated by enclosing the table names in quotes. Ex: SELECT * FROM "some-table";. This should probably be detected and handled in the code instead of failing.
Note:
See TracTickets
for help on using tickets.
(In [1688]) Fixed #646 -- inspectdb no longer fails on database tables with hyphen in the name. Thanks for reporting, jack at xiph.org