forked from pool/python-psycopg2
- Update to 2.5:
- Added JSON adaptation. - Added support for PostgreSQL 9.2 range types. - `connection` and `cursor` objects can be used in ``with`` statements as context managers as specified by recent DBAPI extension. - Added `psycopg2.extensions.Diagnostics` object to get extended info from a database error. Many thanks to Matthew Woodcraft for the implementation (ticket #149). - Added `connection.cursor_factory` attribute to customize the default object returned by `connection.cursor()`. - Added support for backward scrollable cursors. Thanks to Jon Nelson for the initial patch (ticket #108). - Added a simple way to customize casting of composite types into Python objects other than namedtuples. Many thanks to Ronan Dunklau and Tobias Oberstein for the feature development. - `connection.reset()` implemented using `DISCARD ALL` on server versions supporting it. - Properly cleanup memory of broken connections (ticket #148). - Fixed bad interaction of ``setup.py`` with other dependencies in Distribute projects on Python 3 (ticket #153). - Added support for Python 3.3. - Dropped support for Python 2.4. Please use Psycopg 2.4.x if you need it. - `psycopg2.errorcodes` map updated to PostgreSQL 9.2. - Dropped Zope adapter from source repository. ZPsycopgDA now has its own project at <http://github.com/psycopg/ZPsycopgDA>. - Changes from 2.4.6: - Fixed 'cursor()' arguments propagation in connection subclasses and overriding of the 'cursor_factory' argument. Thanks to Corry Haines for the report and the initial patch (ticket #105). - Dropped GIL release during string adaptation around a function call OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-psycopg2?expand=0&rev=36
This commit is contained in:
@@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:48b702a7ca479e1bc2c1a7b81875a07d474298132605993e2cb979f5e08277d7
|
|
||||||
size 719343
|
|
3
psycopg2-2.5.tar.gz
Normal file
3
psycopg2-2.5.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:6b2f0cc9199de9eaa53ba10ff69b2741e73484b24657e69bdae259561c23bde4
|
||||||
|
size 703558
|
@@ -1,3 +1,52 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Apr 16 18:05:47 UTC 2013 - jfunk@funktronics.ca
|
||||||
|
|
||||||
|
- Update to 2.5:
|
||||||
|
- Added JSON adaptation.
|
||||||
|
- Added support for PostgreSQL 9.2 range types.
|
||||||
|
- `connection` and `cursor` objects can be used in ``with`` statements as
|
||||||
|
context managers as specified by recent DBAPI extension.
|
||||||
|
- Added `psycopg2.extensions.Diagnostics` object to get extended info from
|
||||||
|
a database error. Many thanks to Matthew Woodcraft for the implementation
|
||||||
|
(ticket #149).
|
||||||
|
- Added `connection.cursor_factory` attribute to customize the default
|
||||||
|
object returned by `connection.cursor()`.
|
||||||
|
- Added support for backward scrollable cursors. Thanks to Jon Nelson for
|
||||||
|
the initial patch (ticket #108).
|
||||||
|
- Added a simple way to customize casting of composite types into Python
|
||||||
|
objects other than namedtuples. Many thanks to Ronan Dunklau and Tobias
|
||||||
|
Oberstein for the feature development.
|
||||||
|
- `connection.reset()` implemented using `DISCARD ALL` on server versions
|
||||||
|
supporting it.
|
||||||
|
- Properly cleanup memory of broken connections (ticket #148).
|
||||||
|
- Fixed bad interaction of ``setup.py`` with other dependencies in
|
||||||
|
Distribute projects on Python 3 (ticket #153).
|
||||||
|
- Added support for Python 3.3.
|
||||||
|
- Dropped support for Python 2.4. Please use Psycopg 2.4.x if you need it.
|
||||||
|
- `psycopg2.errorcodes` map updated to PostgreSQL 9.2.
|
||||||
|
- Dropped Zope adapter from source repository. ZPsycopgDA now has its own
|
||||||
|
project at <http://github.com/psycopg/ZPsycopgDA>.
|
||||||
|
- Changes from 2.4.6:
|
||||||
|
- Fixed 'cursor()' arguments propagation in connection subclasses and
|
||||||
|
overriding of the 'cursor_factory' argument. Thanks to Corry Haines for
|
||||||
|
the report and the initial patch (ticket #105).
|
||||||
|
- Dropped GIL release during string adaptation around a function call
|
||||||
|
invoking a Python API function, which could cause interpreter crash.
|
||||||
|
Thanks to Manu Cupcic for the report (ticket #110).
|
||||||
|
- Close a green connection if there is an error in the callback. Maybe a
|
||||||
|
harsh solution but it leaves the program responsive (ticket #113).
|
||||||
|
- 'register_hstore()', 'register_composite()', 'tpc_recover()' work with
|
||||||
|
RealDictConnection and Cursor (ticket #114).
|
||||||
|
- Fixed broken pool for Zope and connections re-init across ZSQL methods in
|
||||||
|
the same request (tickets #123, #125, #142).
|
||||||
|
- connect() raises an exception instead of swallowing keyword arguments when
|
||||||
|
a connection string is specified as well (ticket #131).
|
||||||
|
- Discard any result produced by 'executemany()' (ticket #133).
|
||||||
|
- Fixed pickling of FixedOffsetTimezone objects (ticket #135).
|
||||||
|
- Release the GIL around PQgetResult calls after COPY (ticket #140).
|
||||||
|
- Fixed empty strings handling in composite caster (ticket #141).
|
||||||
|
- Fixed pickling of DictRow and RealDictRow objects.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Fri May 25 14:07:21 UTC 2012 - cfarrell@suse.com
|
Fri May 25 14:07:21 UTC 2012 - cfarrell@suse.com
|
||||||
|
|
||||||
|
@@ -17,7 +17,7 @@
|
|||||||
|
|
||||||
|
|
||||||
Name: python-psycopg2
|
Name: python-psycopg2
|
||||||
Version: 2.4.5
|
Version: 2.5
|
||||||
Release: 0
|
Release: 0
|
||||||
License: LGPL-3.0+ and (LGPL-3.0+ or ZPL-2.0) and SUSE-GPL-2.0-with-openssl-exception
|
License: LGPL-3.0+ and (LGPL-3.0+ or ZPL-2.0) and SUSE-GPL-2.0-with-openssl-exception
|
||||||
Summary: Python-PostgreSQL Database Adapter
|
Summary: Python-PostgreSQL Database Adapter
|
||||||
@@ -67,7 +67,7 @@ rm -rf %{buildroot}%{python_sitearch}/psycopg2/tests # Don't package testsuite
|
|||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root,-)
|
%defattr(-,root,root,-)
|
||||||
%doc AUTHORS ChangeLog LICENSE NEWS PKG-INFO README
|
%doc AUTHORS LICENSE NEWS README
|
||||||
%{python_sitearch}/psycopg2/
|
%{python_sitearch}/psycopg2/
|
||||||
%{python_sitearch}/psycopg2-%{version}-py%{py_ver}.egg-info
|
%{python_sitearch}/psycopg2-%{version}-py%{py_ver}.egg-info
|
||||||
|
|
||||||
|
@@ -1,3 +1,52 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Apr 16 18:05:47 UTC 2013 - jfunk@funktronics.ca
|
||||||
|
|
||||||
|
- Update to 2.5:
|
||||||
|
- Added JSON adaptation.
|
||||||
|
- Added support for PostgreSQL 9.2 range types.
|
||||||
|
- `connection` and `cursor` objects can be used in ``with`` statements as
|
||||||
|
context managers as specified by recent DBAPI extension.
|
||||||
|
- Added `psycopg2.extensions.Diagnostics` object to get extended info from
|
||||||
|
a database error. Many thanks to Matthew Woodcraft for the implementation
|
||||||
|
(ticket #149).
|
||||||
|
- Added `connection.cursor_factory` attribute to customize the default
|
||||||
|
object returned by `connection.cursor()`.
|
||||||
|
- Added support for backward scrollable cursors. Thanks to Jon Nelson for
|
||||||
|
the initial patch (ticket #108).
|
||||||
|
- Added a simple way to customize casting of composite types into Python
|
||||||
|
objects other than namedtuples. Many thanks to Ronan Dunklau and Tobias
|
||||||
|
Oberstein for the feature development.
|
||||||
|
- `connection.reset()` implemented using `DISCARD ALL` on server versions
|
||||||
|
supporting it.
|
||||||
|
- Properly cleanup memory of broken connections (ticket #148).
|
||||||
|
- Fixed bad interaction of ``setup.py`` with other dependencies in
|
||||||
|
Distribute projects on Python 3 (ticket #153).
|
||||||
|
- Added support for Python 3.3.
|
||||||
|
- Dropped support for Python 2.4. Please use Psycopg 2.4.x if you need it.
|
||||||
|
- `psycopg2.errorcodes` map updated to PostgreSQL 9.2.
|
||||||
|
- Dropped Zope adapter from source repository. ZPsycopgDA now has its own
|
||||||
|
project at <http://github.com/psycopg/ZPsycopgDA>.
|
||||||
|
- Changes from 2.4.6:
|
||||||
|
- Fixed 'cursor()' arguments propagation in connection subclasses and
|
||||||
|
overriding of the 'cursor_factory' argument. Thanks to Corry Haines for
|
||||||
|
the report and the initial patch (ticket #105).
|
||||||
|
- Dropped GIL release during string adaptation around a function call
|
||||||
|
invoking a Python API function, which could cause interpreter crash.
|
||||||
|
Thanks to Manu Cupcic for the report (ticket #110).
|
||||||
|
- Close a green connection if there is an error in the callback. Maybe a
|
||||||
|
harsh solution but it leaves the program responsive (ticket #113).
|
||||||
|
- 'register_hstore()', 'register_composite()', 'tpc_recover()' work with
|
||||||
|
RealDictConnection and Cursor (ticket #114).
|
||||||
|
- Fixed broken pool for Zope and connections re-init across ZSQL methods in
|
||||||
|
the same request (tickets #123, #125, #142).
|
||||||
|
- connect() raises an exception instead of swallowing keyword arguments when
|
||||||
|
a connection string is specified as well (ticket #131).
|
||||||
|
- Discard any result produced by 'executemany()' (ticket #133).
|
||||||
|
- Fixed pickling of FixedOffsetTimezone objects (ticket #135).
|
||||||
|
- Release the GIL around PQgetResult calls after COPY (ticket #140).
|
||||||
|
- Fixed empty strings handling in composite caster (ticket #141).
|
||||||
|
- Fixed pickling of DictRow and RealDictRow objects.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu Nov 22 13:47:34 UTC 2012 - toddrme2178@gmail.com
|
Thu Nov 22 13:47:34 UTC 2012 - toddrme2178@gmail.com
|
||||||
|
|
||||||
|
@@ -17,7 +17,7 @@
|
|||||||
|
|
||||||
|
|
||||||
Name: python3-psycopg2
|
Name: python3-psycopg2
|
||||||
Version: 2.4.5
|
Version: 2.5
|
||||||
Release: 0
|
Release: 0
|
||||||
License: LGPL-3.0+ or ZPL-2.0
|
License: LGPL-3.0+ or ZPL-2.0
|
||||||
Summary: Python-PostgreSQL Database Adapter
|
Summary: Python-PostgreSQL Database Adapter
|
||||||
@@ -66,7 +66,7 @@ rm -rf %{buildroot}%{python_sitearch}/psycopg2/tests # Don't package testsuite
|
|||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root,-)
|
%defattr(-,root,root,-)
|
||||||
%doc AUTHORS ChangeLog LICENSE NEWS PKG-INFO README
|
%doc AUTHORS LICENSE NEWS README
|
||||||
%{python3_sitearch}/psycopg2
|
%{python3_sitearch}/psycopg2
|
||||||
%{python3_sitearch}/psycopg2-%{version}-py%{py3_ver}.egg-info
|
%{python3_sitearch}/psycopg2-%{version}-py%{py3_ver}.egg-info
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user