32 Commits

Author SHA256 Message Date
Sascha Peilicke
26d1a9183a - Simplify macro usage
- Remove outdated SUSE version checks

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-psycopg2?expand=0&rev=30
2012-03-12 21:10:00 +00:00
James Oakley
36b3e26208 Accepting request 104494 from devel:openSUSE:Factory:patch-license
patch license to follow spdx.org standard

OBS-URL: https://build.opensuse.org/request/show/104494
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-psycopg2?expand=0&rev=29
2012-02-13 18:42:16 +00:00
James Oakley
e7d443b97f - Update to 2.4.4:
* register_composite() also works with the types implicitly defined after a
    table row, not only with the ones created by CREATE TYPE.
  * Values for the isolation level symbolic constants restored to what they
    were before release 2.4.2 to avoid breaking apps using the values instead
    of the constants.
  * Named DictCursor/RealDictCursor honour itersize (ticket #80).
  * Fixed rollback on error on Zope (ticket #73).
  * Raise DatabaseError instead of Error with empty libpq errors, consistently
    with other disconnection-related errors: regression introduced in release
    2.4.1 (ticket #82).
- Version 2.4.3:
  * connect() supports all the keyword arguments supported by the database
  * Added new_array_type() function for easy creation of array typecasters.
  * Added support for arrays of hstores and composite types (ticket #66).
  * Fixed segfault in case of transaction started with connection lost (and
    possibly other events).
  * Fixed adaptation of Decimal type in sub-interpreters, such as in certain
    mod_wsgi configurations (ticket #52).
  * Rollback connections in transaction or in error before putting them back
    into a pool. Also discard broken connections (ticket #62).
  * Lazy import of the slow uuid module, thanks to Marko Kreen.
  * Fixed NamedTupleCursor.executemany() (ticket #65).
  * Fixed --static-libpq setup option (ticket #64).
  * Fixed interaction between RealDictCursor and named cursors (ticket #67).
  * Dropped limit on the columns length in COPY operations (ticket #68).
  * Fixed reference leak with arguments referenced more than once in queries
    (ticket #81).
  * Fixed typecasting of arrays containing consecutive backslashes.
  * errorcodes map updated to PostgreSQL 9.1.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-psycopg2?expand=0&rev=28
2012-01-12 22:04:03 +00:00
Sascha Peilicke
8a9c080a37 - Update to version 2.4.2:
* connection.h: added codec attribute to avoid repeated codec name
    lookups during unicode query/params manipulations.
  * setup.py: bumped to version 2.3.2.dev0
  * psycopg/connection_int.c: applied patch from Marti Raudsepp to close
    ticket #24. Fixed segfault in connection when DateStyle not available
    (e.g.  pgbouncer appars not passing it to the client)
  * psycopg/utils.c: Added psycopg_strdup function.
  - See ChangeLog for more...
- Don't package testsuite
- Fix non-executable script rpmlint warning

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-psycopg2?expand=0&rev=27
2011-09-21 13:46:02 +00:00
5d2d2e38d2 Autobuild autoformatter for 67290
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-psycopg2?expand=0&rev=2
2011-05-30 14:55:53 +00:00
53eb616efa Accepting request 67290 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/67290
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-psycopg2?expand=0&rev=1
2011-05-30 14:55:44 +00:00
Sascha Peilicke
b74cf63130 - Spec file changes:
* Added LICENSE and NEWS files
  * Added ZPL license to preamble (psycopg2 is dual-licensed)
  * Use upstream description
  * Fixed SLE build errors
  * Repacked tarball to bzip2
- Update to version 2.4
  * Added support for Python 3.1 and 3.2. The conversion has also
    brought several improvements:
  * Improvements to the named cusors and data handling
  * Fixed adaptation of None in composite types (ticket #26). Bug
    report by Karsten Hilbert.
  * Fixed several reference leaks in less common code paths.
  * Fixed segfault when a large object is closed and its connection no
    more available.
  * Added missing icon to ZPsycopgDA package, not available in Zope
    2.12.9 (ticket #30). Bug report and patch by Pumukel.
  * Fixed conversion of negative infinity (ticket #40). Bug report and
    patch by Marti Raudsepp.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-psycopg2?expand=0&rev=26
2011-02-28 08:29:10 +00:00
OBS User _service
f6e539b8a8 generated via source service
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-psycopg2?expand=0&rev=25
2011-02-28 07:52:43 +00:00
Sascha Peilicke
62e5f70463 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-psycopg2?expand=0&rev=24 2011-02-28 07:52:41 +00:00
Pavol Rusnak
82e4ad5a3f Accepting request 56848 from home:elchevive
OBS-URL: https://build.opensuse.org/request/show/56848
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-psycopg2?expand=0&rev=23
2011-01-03 00:42:53 +00:00
Cristian Rodríguez
bdcf7a3f62 Accepting request 51433 from home:termim:branches:devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/51433
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-psycopg2?expand=0&rev=22
2010-10-27 12:22:11 +00:00
James Oakley
5943334955 Accepting request 20517 from home:jnelson-suse:branches:devel:languages:python
Copy from home:jnelson-suse:branches:devel:languages:python/python-psycopg2 via accept of submit request 20517 revision 12.
Request was accepted with message:
Looks good. Thanks

OBS-URL: https://build.opensuse.org/request/show/20517
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-psycopg2?expand=0&rev=21
2009-09-16 13:38:40 +00:00
James Oakley
34778ec224 Copy from home:jnelson-suse:branches:devel:languages:python/python-psycopg2 via accept of submit request 18644
Request was accepted with message:
Thanks

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-psycopg2?expand=0&rev=20
2009-08-25 15:07:49 +00:00
James Oakley
72910d89ea Update to 2.0.12
- Update to 2.0.12:
  * psycopg/lobject_int.c: fixed problem with writing large data using
    lo_write: apparently the large objects code does not like non-blocking
    connections.
  * setup.py: fixed version detection for PostgreSQL rc, as
    suggested by Sok Ann Yap.
  * ZPsycopgDA/db.py: applied serialization error retry from Brian
    Sutherland.
  * Implemented connection.reset() method to reset the connection to
    well-know default parameters. This is much faster than closing and
    reopening the connection. (Suggested by a bug report by Glenn
    Maynard.)
  * psycopg/cursor_type.c: unified size macro definitions in COPY TO
    and COPY FROM operations: now the buffer for column names is 8192
    bytes that should be enough even for very large tables.
  * Applied patch from Robert Munro to fix version check
    in ZPsycopgDA.
- Release 2.0.11:
  * lib/extras.py: fixed crash in fetchone() when prefetching using
    a RealDictCursor.
  * psycopg/cursor_ext.c: now raise correct exception when fetching
    using a custom row factory results in an error.
  * lib/extras.py: applied DictRow "diet" patch from Marko Kreen.
  * setup.py: applied patch from Elvis Pranskevichus to make
    PostgreSQL version detection more robust.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-psycopg2?expand=0&rev=19
2009-08-18 13:17:15 +00:00
Lars Vogdt
e28468a321 update to 2.0.10
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-psycopg2?expand=0&rev=18
2009-04-27 15:31:31 +00:00
James Oakley
cd5328189d Oops. Wrong project
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-psycopg2?expand=0&rev=17
2008-11-20 20:56:43 +00:00
James Oakley
a9c4e6c4d1 Disable 7.4+ features
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-psycopg2?expand=0&rev=16
2008-11-20 20:53:29 +00:00
James Oakley
1d8b5fd8c9 Update to 2.0.8
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-psycopg2?expand=0&rev=15
2008-11-20 20:29:18 +00:00
Peter Poeml
f37200f7d6 use --record-rpm instead of --record
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-psycopg2?expand=0&rev=14
2008-11-05 10:58:23 +00:00
OBS User unknown
b3e3aa8207 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-psycopg2?expand=0&rev=13 2007-06-13 07:59:34 +00:00
OBS User unknown
2ad8a71a85 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-psycopg2?expand=0&rev=12 2007-06-13 07:59:33 +00:00
OBS User unknown
b39d547993 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-psycopg2?expand=0&rev=11 2007-06-13 07:59:31 +00:00
OBS User unknown
3d9aa442a0 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-psycopg2?expand=0&rev=10 2007-06-13 07:59:22 +00:00
OBS User unknown
798254d1d2 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-psycopg2?expand=0&rev=9 2007-01-20 01:55:59 +00:00
OBS User unknown
544de131fc OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-psycopg2?expand=0&rev=8 2007-01-20 01:55:58 +00:00
OBS User unknown
31231d5b13 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-psycopg2?expand=0&rev=7 2007-01-20 01:55:56 +00:00
OBS User unknown
12040492a3 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-psycopg2?expand=0&rev=6 2007-01-20 01:55:54 +00:00
OBS User unknown
53eb25ef0f OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-psycopg2?expand=0&rev=5 2007-01-20 01:54:57 +00:00
OBS User unknown
540aa0489a OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-psycopg2?expand=0&rev=4 2006-10-27 12:12:46 +00:00
OBS User unknown
4ae728a348 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-psycopg2?expand=0&rev=3 2006-10-27 12:12:44 +00:00
OBS User unknown
9d2d2cb25d OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-psycopg2?expand=0&rev=2 2006-10-27 12:12:37 +00:00
OBS User unknown
f69604a355 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-psycopg2?expand=0&rev=1 2006-10-27 12:12:28 +00:00