Commits

Ben Trofatter committed da9483d

Corrected silly circular import introduced by original "fix".

Comments (0)

Files changed (2)

lib/sqlalchemy/dialects/postgresql/base.py

 from ...engine import default, reflection
 from ...sql import compiler, expression, util as sql_util, operators
 from ... import types as sqltypes
-from .hstore import HSTORE
 
 try:
     from uuid import UUID as _python_UUID
     'interval': INTERVAL,
     'interval year to month': INTERVAL,
     'interval day to second': INTERVAL,
-    'hstore': HSTORE,
 }
 
 

lib/sqlalchemy/dialects/postgresql/hstore.py

 
 import re
 
-from .base import ARRAY
+from .base import ARRAY, ischema_names
 from ... import types as sqltypes
 from ...sql import functions as sqlfunc
 from ...sql.operators import custom_op
         return process
 
 
+ischema_names['hstore'] = HSTORE
+
+
 class hstore(sqlfunc.GenericFunction):
     """Construct an hstore value within a SQL expression using the
     Postgresql ``hstore()`` function.