Re: complete uninstall of postgres 9.0.4

From: Ramy Abdel-Azim <ramy(dot)abdel-azim(at)startdatelabs(dot)com>
To: Arvind Sharma <arvind321(at)yahoo(dot)com>
Cc: "pgsql-novice(at)postgresql(dot)org" <pgsql-novice(at)postgresql(dot)org>
Subject: Re: complete uninstall of postgres 9.0.4
Date: 2011-11-07 16:52:05
Message-ID: CAHjAGiOmpZQ20xY+dT9y6rnQfBOZbWCskWj_vR64YVjUqbL9vg@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-novice

well, i rolled the dice and re-installed Postgres 9.1 using the one-click
installer (instead of using "brew install postgres"). so far, this seems to
be working.

thanks to everyone for all the help and the quick responses.

On Mon, Nov 7, 2011 at 11:23 AM, Arvind Sharma <arvind321(at)yahoo(dot)com> wrote:

> Looks like an non-standard Install then, on Mac OS. Or the PostgreSQL 9.0
> is already deleted from the /Applications area, which is ok.
>
> The INI file is just a data file which stores information when PG starts
> up. If that is not there, no problem.
>
> If you can remove all the rest, reboot the Mac, then see if all the tell
> tale signs of PG are gone or not.
>
> Arvind
>
> ------------------------------
> *From:* Ramy Abdel-Azim <ramy(dot)abdel-azim(at)startdatelabs(dot)com>
> *To:* Arvind Sharma <arvind321(at)yahoo(dot)com>
> *Cc:* "pgsql-novice(at)postgresql(dot)org" <pgsql-novice(at)postgresql(dot)org>
> *Sent:* Monday, November 7, 2011 8:04 AM
> *Subject:* Re: [NOVICE] complete uninstall of postgres 9.0.4
>
> Arvind,
>
> files such as: /Applications/PostgreSQL 9.0 and /etc/postgres-reg.ini
> do not exist on my machine.
>
> On Mon, Nov 7, 2011 at 10:42 AM, Arvind Sharma <arvind321(at)yahoo(dot)com>wrote:
>
> If the regular /Applications/PostgreSQL 9.0/uninstall-postgresql.app
> doesn't help then there are manual steps which will remove ALL the elements
> of the PG
>
> Manual Uninstallation:
>
> 1) Stop the server
>
> sudo /sbin/SystemStarter stop postgresql-9.0
>
> 2) Remove menu shortcuts:
>
> sudo rm -rf /Applications/PostgreSQL 9.0
>
> 3) Remove the ini file
>
> sudo rm -rf /etc/postgres-reg.ini
>
> 4) Removing Startup Items
>
> sudo rm -rf /Library/StartupItems/postgresql-9.0
>
> 5) Remove the data and installed files
>
> sudo rm -rf /Library/PostgreSQL/9.0
>
> 6) Delete the user postgres
>
> sudo dscl . delete /users/postgres
>
>
> Arvind
>
>
>
> ------------------------------
> *From:* Ramy Abdel-Azim <ramy(dot)abdel-azim(at)startdatelabs(dot)com>
> *To:* pgsql-novice(at)postgresql(dot)org
> *Sent:* Monday, November 7, 2011 6:02 AM
> *Subject:* [NOVICE] complete uninstall of postgres 9.0.4
>
> Hello,
> It seems I've rather botched my installation of postgres onto my Mac OSX
> lion machine. I would like to "start over from scratch". I've tried "brew
> uninstall postgresql" but this seems to leave a bunch of configuration
> nonsense that I dont' need in my new installation still in tact (or
> something). In any case, instead of trying to figure out what i did wrong,
> I'd like to completely start over with the installation process. i don't
> need to retain any database tables or any data or anything like that. I'd
> like to get my machine back to a point where it knew nothing of postgres.
>
> Please let me know if you can assist me.
>
> And, along the way, if you know of any gotchas that come with trying to
> install postgres on mac osx lion, please let me know about them. I'm
> completely new to both Mac OSX lion (though not linux) and completely new
> to postgres (though i have used MySQL and SQL-Server in the past).
>
> Thanks kindly,
> _Ramy
>
>
>
>
>
>

In response to

Browse pgsql-novice by date

  From Date Subject
Next Message Tom Lane 2011-11-07 18:17:44 Re: complete uninstall of postgres 9.0.4
Previous Message Arvind Sharma 2011-11-07 16:23:18 Re: complete uninstall of postgres 9.0.4