Hi! Raphaël Hertzog [2005-08-12 11:53 +0200]: > Le mercredi 10 août 2005 à 23:23 -0500, Manoj Srivastava a écrit : > > Hi, > > postgresql packages installed are shown below. These work with > > libdbd-pg-perl_1.32-2_i386. Now, if version 1.42-2 can't work with > > postgresql 7.x, why does it not conflict with that version? Or depend > > on the newer version of postgres? > > Because several postgresql can now be installed concurrently !
In fact client apps shouldn't even care about which server version they talk to. > libdbd-pg-perl 1.42-2 depends on libpq4 and that's enough, there's no > reason for me to conflict with anything. > > The description of libpq4 says: > | This version of libpq is compatible with servers from PostgreSQL 8.0 > | or later. Oops, that's wrong, it should be "from PostgreSQL 7.3 or later". I fixed the description in arch head, I'll upload a new PostgreSQL as soon as the current version is in testing (i. e. as soon as that damn mips buildd feels like actually uploading the built package). > Furthermore your script uses the TCP/IP access > > | #our $greylist_dbname = 'DBI:Pg:database=mimedefang'; > > | our $greylist_dbname = > > 'DBI:Pg:database=mimedefang;host=localhost;port=5432;'; > instead of the traditional Unix socket. > > I suppose that's because the Unix socket doesn't work ! And if it didn't > work, it may have been on purpose : to avoid using the lib with the > socket corresponding to the old postgresql ! The Unix socket works perfectly, and should be the preferred way of connecting to the server unless you want to connect as a different user. However, TCP connections work as well. > I'm ccing Martin Pitt to have his input on this problem. Martin, do you > confirm that using libpq4 with older PostgreSQL is asking for troubles ? Negative, it works perfectly. That's the reason why libpq3 is obsolete now and there is only one libpq-dev for all client apps. > Manoj, I suggest that you switch to PostgreSQL 8.0. I do not intend to > provide several versions of libdbp-pg-perl to support several > PostgreSQL. No reason for this, there should be only one client app version per *libpq API* (i. e. currently: 1), not per *server version*. HTH, Martin -- Martin Pitt http://www.piware.de Ubuntu Developer http://www.ubuntu.com Debian Developer http://www.debian.org
signature.asc
Description: Digital signature

