Submitted by krl (not verified) on Sun, 2008-02-17 06:35.
I had a similar problem.
I had once version 8.0 installed on my machine, but I never used it. Now I wanted to start using it and upgraded to version 8.2. I did excactly as it was described on postgresql manual, except I didn't do the dump, since I had nothing importaint in the database. And now if I want to start the postgresql console I get the same error as the author of this blogpost did. Before the upgrade I deleted the /var/lib/postgresql/data directory but now after running initdb it still knows that the previous version was 8.0 and psql won't start.
What else should I delete to get the new postgresql to forget the previous version database at all, and that initdb would create a whole new database?
»
Reply
Search
Windows for Intel Macs
Todd Ogasawara's Windows for Intel Macs ($7.99USD published by O'Reilly Media) is for Intel Mac users running Bootcamp or Parallels who want to learn more about running Microsoft Windows XP on Mac. It also provides specific tips and hints for using Parallels Desktop for Mac.
I had a similar problem. I
I had a similar problem.
I had once version 8.0 installed on my machine, but I never used it. Now I wanted to start using it and upgraded to version 8.2. I did excactly as it was described on postgresql manual, except I didn't do the dump, since I had nothing importaint in the database. And now if I want to start the postgresql console I get the same error as the author of this blogpost did. Before the upgrade I deleted the /var/lib/postgresql/data directory but now after running initdb it still knows that the previous version was 8.0 and psql won't start.
What else should I delete to get the new postgresql to forget the previous version database at all, and that initdb would create a whole new database?