running postgresql

From: Charles <post(at)upyours(dot)us>
To: pgsql-general(at)postgresql(dot)org
Subject: running postgresql
Date: 2007-11-05 18:36:12
Message-ID: 1194287772.8683.7.camel@DagonUX32
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

I am running Gutsy (Ubuntu 7.10) and new to Postgresql. I followed the
direction at https://help.ubuntu.com/community/PostgreSQL. I executed
the following commands:
sudo -u postgres createuser -D -A -P myuser
sudo -u postgres createdb -O myuser mydb
dagon(at)DagonUX32:~$ psql mydb

and received the following error message:
psql: FATAL: role "dagon" does not exist.

Apparently Postgresql gets confused with my login name. Is this a
Postgresql problem or a Gutsy problem?

How do I establish a "role" that will let me setup different databases?

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Erik Jones 2007-11-05 18:45:46 Re: How to temporarily disable a table's FK constraints?
Previous Message Scott Marlowe 2007-11-05 18:25:02 Re: How to temporarily disable a table's FK constraints?