omit_schema has no effect

Issue #890 resolved
Former user created an issue

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)

  1. Former user 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

  2. Log in to comment