On Tue, Aug 04, 2009 at 04:32:33PM -0300, Rogerio Luz Coelho wrote:
> > > to make things simple, just do a "aptitude purge postgresql-8.4 &&
> > aptitude
> > > install postgresql-8.3" no restore of the DB is necessary
> >
> > That's right because the 8.3 data files are still there
> > totally undisturbed. Debian makes sure as hell that no data
> > gets lost.
>
>
> with the above "aptitude purge ... aptitude install" the next time I ran
> aptitude upgrade the postgresql did not install the 8.4 version
Yep, that's because you now manually installed the 8.3
version of PG rather than the version-less "default"
meta-package which upgrades versions as soon as available -
as you noticed.
>, AND the 8.3
> version was reconfigured to the old port automatically.
The Debian PG maintenance tools are pretty smart.