omit_schema has no effect
Issue #890
resolved
Hello,
databases can set omit_schema=True for their IdentifierPreparer, but this information apparently isn't used for anything yet.
Due to this, I can't use table definitions which specify a schema with databases not supporting schemas. E.g. I'm using sqlite for integration tests, but the application is actually designed for postgres and uses schemas.
The attached patches modify IdentifierPreparer.format_table() to honour the self.omit_schema flag for both 0.3.x and 0.4.x.
Cheers, Fabian
Comments (4)
-
Account Deleted -
Account Deleted patch against 0.3.10
-
Account Deleted Note that the patches don't fix the other format_XXX functions. So format_table_seq() and format_sequence() might need to be fixed too.
Cheers, Fabian Knittel
-
repo owner - changed status to resolved
- Log in to comment
patch against 0.4.1