dbTalk Databases Forums  

Re-initializing the installation

comp.databases.postgresql comp.databases.postgresql


Discuss Re-initializing the installation in the comp.databases.postgresql forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
gargoyle47
 
Posts: n/a

Default Re-initializing the installation - 04-24-2009 , 05:16 AM






I’ve installed PostgreSQL 8.3.5 on Windows XP Home (SP3).

Now I’ve had time to play around with it, I want to delete my test
databases and all related physical files and go back to the beginning
with a fresh install.

Is there a nice way to re-initialize the entire installation, or do I
have to completely uninstall and re-install PostgreSQL?


Reply With Quote
  #2  
Old   
Thomas Kellerer
 
Posts: n/a

Default Re: Re-initializing the installation - 04-24-2009 , 06:14 AM






gargoyle47, 24.04.2009 12:16:
Quote:
I’ve installed PostgreSQL 8.3.5 on Windows XP Home (SP3).

Now I’ve had time to play around with it, I want to delete my test
databases and all related physical files and go back to the beginning
with a fresh install.

Is there a nice way to re-initialize the entire installation, or do I
have to completely uninstall and re-install PostgreSQL?

Stop the service
Delete the entire data directory
Run initdb to initialize a new data directory (pointing to the old directory)
Start the service


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.