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 !

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.

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 !

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 ?

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. I'm going to follow the latest stable PostgreSQL as usual.
I may document this situation in the README.Debian however.

Regards,
-- 
Raphaël Hertzog

Premier livre français sur Debian GNU/Linux :
http://www.ouaza.com/livre/admin-debian/


Reply via email to