From 72910d89ea61b627f73d49dc04db6b0cf45ab2efe458926136cc0a7e30c476d0 Mon Sep 17 00:00:00 2001 From: James Oakley Date: Tue, 18 Aug 2009 13:17:15 +0000 Subject: [PATCH] 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 --- python-psycopg2.changes | 29 +++++++++++++++++++++++++++++ python-psycopg2.spec | 2 +- 2 files changed, 30 insertions(+), 1 deletion(-) diff --git a/python-psycopg2.changes b/python-psycopg2.changes index 600d19b..b89454b 100644 --- a/python-psycopg2.changes +++ b/python-psycopg2.changes @@ -1,3 +1,32 @@ +------------------------------------------------------------------- +Tue Aug 18 13:14:38 UTC 2009 - jfunk@funktronics.ca + +- 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. + ------------------------------------------------------------------- Mon Apr 27 17:23:57 CEST 2009 - lars@linux-schulserver.de diff --git a/python-psycopg2.spec b/python-psycopg2.spec index 8a866dc..74e38f3 100644 --- a/python-psycopg2.spec +++ b/python-psycopg2.spec @@ -16,7 +16,7 @@ Name: python-psycopg2 Summary: A PostgreSQL database adapter for Python -Version: 2.0.10 +Version: 2.0.12 Release: 1 Url: http://initd.org/projects/psycopg1 License: X11/MIT