Subject: Re: Postgresql Data Directories
To: Curt Sampson <>
From: Patrick Welche <>
List: tech-pkg
Date: 02/18/2005 16:26:13
On Fri, Feb 18, 2005 at 03:15:09PM +0900, Curt Sampson wrote:
> I'm wondering if the postgresql packages ought not use the version
> number in the data directory, e.g.: ${pgsql_home}/data80 instead of
> ${pgsql_home}/data. This would ensure that postgresql never tries to
> read data not compatable with that version, and also avoid the risk
> of accidently damaging or deleting one's data after upgrading.

I haven't looked at postgresql in pkgsrc.. Does it do an initdb
automatically? (I would have thought that wouldn't be wise, but if
it did your suggestion would make sense...)