remove or purge postgresql ?

You have a problem with Salix? Post here and we'll do what we can to help.
Post Reply
alaskan
Posts: 3
Joined: 21. Apr 2011, 22:16

remove or purge postgresql ?

Post by alaskan »

Is there a way to completely purge postgresql files/directories and start over?
I messed up my installation (before finding the instructions in /usr/doc/postgresql or wherever). Now, I can't install the program and files according to directions.
I have never used *sql and am trying to learn, but I really mess postgresql up. Also, no man page or documentations are to be found :(
I'm not on my salix system right now, so can't be more specific on what all is missing. I remember one initd command wouldn't work at all.

TIA
a
User avatar
gapan
Salix Wizard
Posts: 6368
Joined: 6. Jun 2009, 17:40

Re: remove or purge postgresql ?

Post by gapan »

You can probably find all the configuration files in the postgresql package if you run:

Code: Select all

grep etc /var/log/packages/postgresql-*
if they show up with a .new extension (most probably they will), just use the filename without it and delete all those files. Then you can reinstall the package and you would be starting from scratch.
Image
Image
alaskan
Posts: 3
Joined: 21. Apr 2011, 22:16

Re: remove or purge postgresql ?

Post by alaskan »

Thanks gapan. Followed your instructions. Back to playing with and trying to learn postgresql :)
Having never worked with anything like this, it has been quite the experience ;)
Post Reply