Debian Bug Tracking System wrote:
Thank you for the problem report you have sent regarding Debian. This is an automatically generated reply, to let you know your message has been received. It is being forwarded to the package maintainers and other interested parties for their attention; they will reply in due course.
The attached patch fixes the problem for me. hth Jerome Alet
--- base.py 2007-10-26 21:21:35.000000000 +0200 +++ base.py.new 2008-01-22 09:27:17.995217070 +0100 @@ -54,7 +54,13 @@ global postgres_version if not postgres_version: cursor.execute("SELECT version()") - postgres_version = [int(val) for val in cursor.fetchone()[0].split()[1].split('.')] + postgres_version = [] + raw_version = cursor.fetchone()[0] + for c in raw_version : + if c.isdigit() : + postgres_version.append(int(c)) + elif c != "." : + break if settings.DEBUG: return util.CursorDebugWrapper(cursor, self) return cursor