Skip site navigation (1) Skip section navigation (2)

Peripheral Links

Header And Logo

PostgreSQL
| The world's most advanced open source database.

Site Navigation

Search for
  Advanced Search

Re: Q re installing Pg on OS X?


  • From: "Kynn Jones" <kynnjo(at)gmail(dot)com>
  • To: pgsql-general(at)postgresql(dot)org
  • Subject: Re: Q re installing Pg on OS X?
  • Date: Sun, 15 Apr 2007 18:18:18 -0400
  • Message-id: <c2350ba40704151518l6612a550r7051a12c91407563(at)mail(dot)gmail(dot)com>

OK, I found the answer to my question about the "roles" error.

Still, it would be nice to have more up-to-date instructions on how to install PostgreSQL on OS X.  Any pointers would be much appreciated!

TIA!

kj

On 4/15/07, Kynn Jones <kynnjo(at)gmail(dot)com> wrote:
I'm trying to install PostgreSQL on my Mac laptop.

 
I used MacPorts for the first stage of the installation.  I did the following:

% sudo port install postresql82 +perl +python

 
This took quite a while to complete, but it ran without a hitch.

From that point on I followed the instructions given in

 

although I had to make significant modifications to their procedure (for one thing, they use Fink to install the software whereas I used MacPorts; and they refer to v. 7.4.1 as the most recent version of PostgreSQL, so the instructions are somewhat old).

Per these instructions, I created a postgres user, logged in as it, updated my PATH, started the server manually, and created a database with

% createdb test

After this point I am able to log in as the postgres user using "psql test".

But I can't log in as any othe user.  I get the errors like this one:

FATAL: role "root" does not exist

The instructions I'm following have nothing to say about "roles".  (I figure this must be a post-7.4.2 feature.)

Can someone point to more up-to-date installation instructions for OS X?

Thanks!

kj

 

 


Home | Main Index | Thread Index

Privacy Policy | PostgreSQL Archives hosted by Command Prompt, Inc. | Designed by tinysofa
Copyright © 1996 – 2008 PostgreSQL Global Development Group