diff options
| author | Mike Bayer <mike_mp@zzzcomputing.com> | 2013-03-18 12:55:56 -0700 |
|---|---|---|
| committer | Mike Bayer <mike_mp@zzzcomputing.com> | 2013-03-18 12:55:56 -0700 |
| commit | 9ad9ccec87b89023db611d70da2c6d455c29ab60 (patch) | |
| tree | e2bf9b27826343214ee1c81f4d4ab7a00bfd1efe | |
| parent | 5b00c6555f67d0837ae64a33077dd87571fc1e0e (diff) | |
| download | sqlalchemy-9ad9ccec87b89023db611d70da2c6d455c29ab60.tar.gz | |
0.8.1 bump + test, changelog for hstore fix [ticket:2680]
| -rw-r--r-- | doc/build/changelog/changelog_08.rst | 10 | ||||
| -rw-r--r-- | lib/sqlalchemy/__init__.py | 2 | ||||
| -rw-r--r-- | test/dialect/test_postgresql.py | 6 |
3 files changed, 17 insertions, 1 deletions
diff --git a/doc/build/changelog/changelog_08.rst b/doc/build/changelog/changelog_08.rst index 97c9acb51..4b4faf4a0 100644 --- a/doc/build/changelog/changelog_08.rst +++ b/doc/build/changelog/changelog_08.rst @@ -4,6 +4,16 @@ ============== .. changelog:: + :version: 0.8.1 + + .. change:: + :tags: bug, postgresql + :tickets: 2680 + + Added missing HSTORE type to postgresql type names + so that the type can be reflected. + +.. changelog:: :version: 0.8.0 :released: March 9, 2013 diff --git a/lib/sqlalchemy/__init__.py b/lib/sqlalchemy/__init__.py index 2352f1308..6e924ea9d 100644 --- a/lib/sqlalchemy/__init__.py +++ b/lib/sqlalchemy/__init__.py @@ -120,7 +120,7 @@ from .engine import create_engine, engine_from_config __all__ = sorted(name for name, obj in locals().items() if not (name.startswith('_') or _inspect.ismodule(obj))) -__version__ = '0.8.0' +__version__ = '0.8.1' del _inspect, sys diff --git a/test/dialect/test_postgresql.py b/test/dialect/test_postgresql.py index 62e855356..005aed1ce 100644 --- a/test/dialect/test_postgresql.py +++ b/test/dialect/test_postgresql.py @@ -3101,6 +3101,12 @@ class HStoreRoundTripTest(fixtures.TablesTest): engine.connect() return engine + def test_reflect(self): + from sqlalchemy import inspect + insp = inspect(testing.db) + cols = insp.get_columns('data_table') + assert isinstance(cols[2]['type'], HSTORE) + @testing.only_on("postgresql+psycopg2") def test_insert_native(self): engine = testing.db |
