Package: python-pgsql Version: 2.4.0-5 Severity: grave Justification: causes non-serious data loss
After upgrading to postgresql-7.4 it's no longer possible to connect to the UNIX socket, only connections over tcpip are working. In [10]: conn = PgSQL.connect(database="database", user="username") --------------------------------------------------------------------------- libpq.DatabaseError Traceback (most recent call last) /home/fatal/<console> /usr/lib/python2.3/site-packages/pyPgSQL/PgSQL.py in connect(dsn, user, password, host, database, port, options, tty, client_encoding, unicode_results) 2209 connInfo = "%s%s=%s " % (connInfo, i, _d[i]) 2210 -> 2211 return Connection(connInfo, client_encoding, unicode_results) 2212 2213 def _handleArray(value): /usr/lib/python2.3/site-packages/pyPgSQL/PgSQL.py in __init__(***failed resolving arguments***) 2329 self.__dict__["_isOpen"] = None 2330 del(self) -> 2331 raise DatabaseError, m 2332 2333 self.__dict__["autocommit"] = 0 DatabaseError: could not connect to server:����8�b���������������Q Is the server running locally and accepting connections on Unix domain socket "/tmp/.s.PGSQL.5432"? In [12]: conn = PgSQL.connect(database="database", user="user", host="localhost") In [13]: conn.version Out[13]: PostgreSQL 7.4.8 on i386-pc-linux-gnu, compiled by GCC cc (GCC) 3.3.5 (Debian 1:3.3.5-13) -- System Information: Debian Release: testing/unstable APT prefers unstable APT policy: (500, 'unstable'), (1, 'experimental') Architecture: i386 (i686) Shell: /bin/sh linked to /bin/bash Kernel: Linux 2.6.11.6-win4lin-ftl1 Locale: LANG=C, LC_CTYPE=sv_SE.UTF-8 (charmap=UTF-8) Versions of packages python-pgsql depends on: ii python 2.3.5-2 An interactive high-level object-o ii python2.3-pgsql 2.4.0-5 A Python DB-API 2.0 interface to P -- no debconf information -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]