postgres dialect does produces wrong sql for schema names with extra dots #230
Labels
bug
Something isn't working
external SQLAlchemy issues
the issue is in SQLAlchemy, not here in alembic
Migrated issue, originally created by John Janssen (@Sindol)
In a recent revision I tried to add a column to a certain schema in my postgres database, with a code something like this:
When myschemaname already has a dot (".") in it, this fails. For example for schemaname "my.schema" it produces:
This returns an exception:
sqlalchemy.exc.NotSupportedError: (NotSupportedError) cross-database references are not implemented
Correct query would be:
The text was updated successfully, but these errors were encountered: