This one time, at band camp, Ian Zimmerman said: > > Stephen> better to depend on the default, and let the database package > Stephen> maintainers worry about what version that points to. > > I think this is the point of confusion. > > In my understanding, the 'postgresql' package is not the "default" > postgresql for Debian, the way 'python' is the Debian Python Of The Day. > It is not clear to me that it will ever point to a later version of > postgresql than 7.x, and may not be present at all even on a system with > an installed postgresql server. I get this impression from reading the > package description.
[EMAIL PROTECTED]:~$ apt-cache show postgresql Package: postgresql [...] Depends: postgresql-7.4, postgresql-client (>= 7.5), postgresql-common (>= 40) [...] Description: object-relational SQL database management system (transitional) This is a transitional package to automatically migrate to the new multicluster/multiversion structure provided by postgresql-common and postgresql-<version>. On installation it will integrate the existing database into this new structure. You can safely remove this package afterwards. It appears your impression was wrong. It's also irrelevant, since the package doesn't Depend (capital D, as in policy and package meaning here, rather than colloquial) on it. > Stephen> Since it is a Recommends, it doesn't prevent you from > Stephen> installing and running whatever version of postgres you want > Stephen> with it, or not installing postgres locally at all (indeed, > Stephen> this is the point of making it a Recommends instead of a > Stephen> Depends). Am I missing a case where this actually causes a > Stephen> problem for someone? > > I don't have webcalendar installed now, so I'm going only from memory. > It is possible that dbconfig-common insisted on using postgresql 7.x. That also is not the case. dbconfig-common uses postgres command line tools from the postgresql-client package, and will do so for whatever version is installed. If you have mismatched postgresql-client and postgresql packages, of course it will fail, but so will any attempt to use the database using those tools. So, is there actually a problem with using postgresql 8.x? I am still not seeing it. I'm not trying to be short, but I think there's just a misunderstanding somewhere. If it's on my end, I want to correct it, but I don't see where it is if so. Take care, -- ----------------------------------------------------------------- | ,''`. Stephen Gran | | : :' : [EMAIL PROTECTED] | | `. `' Debian user, admin, and developer | | `- http://www.debian.org | -----------------------------------------------------------------
signature.asc
Description: Digital signature