postgresql_db: added tablespace support (#56390)

This commit is contained in:
Andrey Klychkov
2019-05-16 13:13:40 +03:00
committed by Dag Wieers
parent 50e9955a23
commit 75046f8410
4 changed files with 217 additions and 9 deletions

View File

@@ -38,7 +38,7 @@ class UnclosedQuoteError(SQLParseError):
# maps a type of identifier to the maximum number of dot levels that are
# allowed to specify that identifier. For example, a database column can be
# specified by up to 4 levels: database.schema.table.column
_PG_IDENTIFIER_TO_DOT_LEVEL = dict(database=1, schema=2, table=3, column=4, role=1)
_PG_IDENTIFIER_TO_DOT_LEVEL = dict(database=1, schema=2, table=3, column=4, role=1, tablespace=1)
_MYSQL_IDENTIFIER_TO_DOT_LEVEL = dict(database=1, table=2, column=3, role=1, vars=1)