pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
Phantom half-install: How can I remove it completely?
2+ messages / 2 participants
[nested] [flat]

* Phantom half-install: How can I remove it completely?
@ 2013-01-04 18:56  Jonathan Hayward <jonathan.hayward@pobox.com>
  0 siblings, 1 reply; 2+ messages in thread

From: Jonathan Hayward @ 2013-01-04 18:56 UTC (permalink / raw)
  To: pgsql-admin

I have been experiencing spooky behavior with Postgres after using the Mac
installer for Postgres. There seems to be an existing half-baked Postgres
installation that was already there and remains there after I deleted the
Mac GUI installer version from /Applications and /Library. Part of the
spooky behavior included being unable after repeated poking and prodding to
get a particular user to authenticate with its behavior--but this makes
sense if I had two parallel Postgres databases, one for which I was
(successfully) setting the user with a particular password, and one which
did not have this database set. Now that that version is uninstalled, I
have a number of Postgres binaries that crash or give errors if I try to
use them:

$ psql
dyld: Library not loaded: /usr/lib/libpq.5.dylib
  Referenced from: /usr/bin/psql
  Reason: image not found
Trace/BPT trap: 5
$

I have not used MacPorts, Fink, or other Unix installers other than
Homebrew in the life of this Mac. Homebrew disclaims ownership of a
Postgres installation:

# ls /usr/local/Cellar | grep -i postgres
#

So however installed, I have a broken Postgres installation that I would
like to wipe completely.

How can I completely wipe Postgres from my system so I can install it with
the installer and have one Postgres installation, instead of a spooky one
and a half installations?

-- 
[image: Christos Jonathan Hayward] <http://jonathanscorner.com/;
Christos Jonathan Hayward, an Orthodox Christian author.

*Amazon <http://amazon.com/author/cjshayward>* • Author
Bio<http://jonathanscorner.com/author/;
 • *Email <christos.jonathan.hayward@gmail.com>* •
Facebook<http://www.facebook.com/christos.jonathan.hayward;
 • Fan Page <http://fan.cjshayward.com/; • Google
Plus<http://jonathanscorner.com/plus;
 • LinkedIn <http://www.linkedin.com/in/jonathanhayward; •
*Professional<http://jonathanhayward.com/;
* • Twitter <http://twitter.com/JonathansCorner; •
*Web<http://jonathanscorner.com/;
* • What's New? <http://jonathanscorner.com/;
If you read just *one* of my books, you'll want *The Best of Jonathan's
Corner <http://www.amazon.com/dp/1478219912>*.

^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* Re: Phantom half-install: How can I remove it completely?
@ 2013-01-04 19:54  Tom Lane <tgl@sss.pgh.pa.us>
  parent: Jonathan Hayward <jonathan.hayward@pobox.com>
  0 siblings, 0 replies; 2+ messages in thread

From: Tom Lane @ 2013-01-04 19:54 UTC (permalink / raw)
  To: Jonathan Hayward <jonathan.hayward@pobox.com>; +Cc: pgsql-admin

Jonathan Hayward <jonathan.hayward@pobox.com> writes:
> I have been experiencing spooky behavior with Postgres after using the Mac
> installer for Postgres. There seems to be an existing half-baked Postgres
> installation that was already there and remains there after I deleted the
> Mac GUI installer version from /Applications and /Library.

That's probably the client-side-only support that Apple installs by
default --- /usr/bin/psql, at least, is Apple's.  I'm not sure what
might break if you remove that.

			regards, tom lane


-- 
Sent via pgsql-admin mailing list (pgsql-admin@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-admin



^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2013-01-04 19:54 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2013-01-04 18:56 Phantom half-install: How can I remove it completely? Jonathan Hayward <jonathan.hayward@pobox.com>
2013-01-04 19:54 ` Tom Lane <tgl@sss.pgh.pa.us>

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox