I am trying to implement this code https://gist.github.com/1859653 which allows sqlalchemy to interact with the hstore column.
The comments mentioned in this document about the need to run psycopg2.extras.register_hstore. When was this feature launched? If I do:
@app.before_request def reg_hstore() : register_hstore(db.engine.raw_connection(), True)
mistakes of the hero with "too many connections"
it also mentions the use of pghstore (http://pypi.python.org/pypi/pghstore) instead of psycopg2, but it does not give instructions on how to configure it.
Also, I am wondering if the use of hstore indexes is supported in this additional code.
source share