Bug#311328: Bug#312847: python-pgsql: Can't connect to UNIX socket with postgresql-7.4

2005-06-11 Thread Roger Leigh
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Ben Burton <[EMAIL PROTECTED]> writes: > Thanks for the report, and thanks Roger for verifying that the libpq4 > rebuild fixes it. I haven't actually tested the new packages, but when I rebuilt libpqxx a couple of days ago, that also had the same pro

Bug#312847: python-pgsql: Can't connect to UNIX socket with postgresql-7.4

2005-06-11 Thread Ben Burton
Hi, Thanks for the report, and thanks Roger for verifying that the libpq4 rebuild fixes it. > I haven't uploaded these, but I can NMU if needed. Please don't -- the postgresql 8.0 / libpq4 transition has only just happened and the bug report is but a day old, and there are other things I'd like

Bug#312847: python-pgsql: Can't connect to UNIX socket with postgresql-7.4

2005-06-10 Thread Roger Leigh
Hi, The connection error is because the location of the UNIX socket has changed between PostgreSQL 7.4 and 8.0. The package needs to be rebuilt against libpq4. The following diff details the changes needed to do this (and also fixes #311328 for good measure). You can download the packages from

Bug#312847: python-pgsql: Can't connect to UNIX socket with postgresql-7.4

2005-06-10 Thread Thomas Nilsson
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")