diff options
| author | Daniele Varrazzo <daniele.varrazzo@gmail.com> | 2012-09-22 02:10:58 +0100 |
|---|---|---|
| committer | Daniele Varrazzo <daniele.varrazzo@gmail.com> | 2012-09-22 02:10:58 +0100 |
| commit | 59151886a02db66b91ed251a937d583a4c6a77b5 (patch) | |
| tree | 5344033ced9dea558bbb69899b644704db8b1cdb /lib/extras.py | |
| parent | 7de86116074d1a0bd630e7222355cbfa1055e484 (diff) | |
| download | psycopg2-59151886a02db66b91ed251a937d583a4c6a77b5.tar.gz | |
Info about hstore versions history moved from code to docs
Diffstat (limited to 'lib/extras.py')
| -rw-r--r-- | lib/extras.py | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/lib/extras.py b/lib/extras.py index 3fd1fb0..b01e6e7 100644 --- a/lib/extras.py +++ b/lib/extras.py @@ -742,7 +742,6 @@ def register_hstore(conn_or_curs, globally=False, unicode=False, 'hstore'::regtype::oid`. Analogously you can obtain a value for *array_oid* using a query such as :sql:`SELECT 'hstore[]'::regtype::oid`. - Note that, when passing a dictionary from Python to the database, both strings and unicode keys and values are supported. Dictionaries returned from the database have keys/values according to the *unicode* parameter. @@ -750,15 +749,6 @@ def register_hstore(conn_or_curs, globally=False, unicode=False, The |hstore| contrib module must be already installed in the database (executing the ``hstore.sql`` script in your ``contrib`` directory). Raise `~psycopg2.ProgrammingError` if the type is not found. - - .. versionchanged:: 2.4 - added the *oid* parameter. If not specified, the typecaster is - installed also if |hstore| is not installed in the :sql:`public` - schema. - - .. versionchanged:: 2.4.3 - added support for |hstore| array. - """ if oid is None: oid = HstoreAdapter.get_oids(conn_or_curs) |
