Re: Problem with 'postgres' db with 8.0 on a MacBook

From: Jonathon McKitrick <jcm(at)FreeBSD-uk(dot)eu(dot)org>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Problem with 'postgres' db with 8.0 on a MacBook
Date: 2006-06-07 14:44:57
Message-ID: 20060607144457.GA57498@dogma.freebsd-uk.eu.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Wed, Jun 07, 2006 at 10:31:22AM -0400, Tom Lane wrote:
: Jonathon McKitrick <jcm(at)FreeBSD-uk(dot)eu(dot)org> writes:
: > I'm migrating to a new MacBook, and while I finally got it to compile, initdb,
: > and start a postmaster, any time I try createdb or createuser, I get a message
: > that the database 'postgres' cannot be found.
:
: It sounds to me like you're trying to use PG 8.1 client tools with an
: 8.0 (or older) postmaster. 8.1 tools expect there to be a 'postgres'
: database created by default, but that is not the convention in older
: releases. Better check exactly what's laying around already on that
: machine. Apple does ship some version of Postgres in OS X IIRC...

That could very well be. I've been installing a couple of versions over one
another, since I couldn't get them to work for various reasons and because gnu
software doesn't have a 'make deinstall'.

How can I remove all the cruft from a previous version?

And where is pg_hba.conf?

Jonathon McKitrick
--
My other computer is your Windows box.

In response to

Browse pgsql-general by date

  From Date Subject
Next Message sergey kapustin 2006-06-07 15:09:09 ERROR: for SELECT DISTINCT, ORDER BY expressions must appear in select list
Previous Message Tom Lane 2006-06-07 14:36:31 Re: What are the characteristics of a good user-defined data type?